Improve editing and creating of transactions
This commit is contained in:
1 parent
faef975f1a
commit
4c6d21c2b4
7 files changed
+32
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user