nyazoom/queries/records/get_records_page.sql

7 lines
162 B
SQL

SELECT
cache_name,
uploaded AS "uploaded: _",
downloads AS "downloads: i32",
max_downloads AS "max_downloads: i32"
FROM records
LIMIT ? OFFSET ?;