nyazoom/queries
2025-01-14 17:55:17 -08:00
..
records feat: reimplement sweeper 2025-01-12 20:36:13 -08:00
README.md doc: database query doc 2025-01-14 17:55:17 -08:00

Database Queries

Because I chose sqlx, lots of the sql files have weird aliasing, such as this;

SELECT cache_name AS "cache_name: _"
FROM records
LIMIT ? OFFSET ?

See: https://docs.rs/sqlx/latest/sqlx/macro.query_as.html#column-type-override-infer-from-struct-field