Show first 200 transactions only
This commit is contained in:
@ -8,9 +8,11 @@ RETURNING *;
|
||||
SELECT transactions.* FROM transactions
|
||||
LEFT JOIN accounts ON accounts.id = transactions.account_id
|
||||
WHERE accounts.budget_id = $1
|
||||
ORDER BY transactions.date DESC;
|
||||
ORDER BY transactions.date DESC
|
||||
LIMIT 200;
|
||||
|
||||
-- name: GetTransactionsForAccount :many
|
||||
SELECT transactions.* FROM transactions
|
||||
WHERE transactions.account_id = $1
|
||||
ORDER BY transactions.date DESC;
|
||||
ORDER BY transactions.date DESC
|
||||
LIMIT 200;
|
Reference in New Issue
Block a user