temp: get and update

This commit is contained in:
Zynh Ludwig 2024-11-20 08:06:07 -08:00
parent 88e1cd98f2
commit 66a59df6ab

View file

@ -0,0 +1,8 @@
UPDATE record
SET downloads = downloads + 1
WHERE cache_name = ?
RETURNING
cache_name,
uploaded,
downloads,
max_downloads;