nyazoom/queries/records/new_record.sql

8 lines
197 B
MySQL
Raw Permalink Normal View History

2024-11-16 13:13:28 +00:00
INSERT INTO records (cache_name, max_downloads)
2024-11-22 00:15:33 +00:00
VALUES (?, ?)
RETURNING
cache_name,
uploaded AS "uploaded: _",
downloads AS "downloads: i32",
max_downloads AS "max_downloads: i32";