8 lines
139 B
SQL
8 lines
139 B
SQL
UPDATE record
|
|
SET downloads = downloads + 1
|
|
WHERE cache_name = ?
|
|
RETURNING
|
|
cache_name,
|
|
uploaded,
|
|
downloads,
|
|
max_downloads;
|