From 7338b3c31f776891b8ae3613b3ce4ed6dab72cb8 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 15 Nov 2024 22:17:40 -0800 Subject: [PATCH] feat: increment_download query --- queries/records/increment_download.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 queries/records/increment_download.sql diff --git a/queries/records/increment_download.sql b/queries/records/increment_download.sql new file mode 100644 index 0000000..dee117a --- /dev/null +++ b/queries/records/increment_download.sql @@ -0,0 +1,3 @@ +UPDATE record +SET downloads = downloads + 1 +WHERE id = ?