Remove duplicate order by

This commit is contained in:
jacob1123 committed 2022-02-27 21:06:11 +00:00
1 parent 4844889e0b
commit bd686e0c00
2 files changed
+1 -5

No files matched your search

+1 -3
View File
@@ -29,14 +29,12 @@ WHERE id = $1;
-- name: GetAllTransactionsForBudget :many
SELECT t.*
FROM display_transactions AS t
WHERE t.budget_id = $1
ORDER BY transactions.date DESC;
WHERE t.budget_id = $1;
-- name: GetTransactionsForAccount :many
SELECT t.*
FROM display_transactions AS t
WHERE t.account_id = $1
ORDER BY transactions.date DESC
LIMIT 200;
-- name: DeleteAllTransactions :execrows