Improve editing and creating of transactions
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
jacob1123 committed 2022-02-27 21:15:46 +00:00
1 parent faef975f1a
commit 4c6d21c2b4
7 files changed
+32 -22

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ WHERE id = $1;
INSERT INTO transactions
(date, memo, amount, account_id, payee_id, category_id, group_id, status)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
RETURNING *;
RETURNING id;
-- name: UpdateTransaction :exec
UPDATE transactions