nyazoom/queries/records/get_cache_names.sql

5 lines
235 B
MySQL
Raw Normal View History

2024-11-21 14:45:08 +00:00
-- The funny alias used here is to allow sqlx to do type inference on columns
-- See: https://docs.rs/sqlx/latest/sqlx/macro.query_as.html#column-type-override-infer-from-struct-field
SELECT cache_name AS "cache_name: _"
FROM records;