Add transaction detail view
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
-- name: GetTransaction :one
|
||||
SELECT * FROM transactions
|
||||
WHERE id = $1;
|
||||
|
||||
-- name: CreateTransaction :one
|
||||
INSERT INTO transactions
|
||||
(date, memo, amount, account_id, payee_id, category_id)
|
||||
|
Reference in New Issue
Block a user