Use view everywhere

This commit is contained in:
2022-02-27 20:45:02 +00:00
parent 81aacf339e
commit 2cf6b815bf
6 changed files with 29 additions and 12 deletions

View File

@ -1,5 +1,5 @@
-- name: GetTransaction :one
SELECT * FROM transactions
SELECT * FROM display_transactions
WHERE id = $1;
-- name: CreateTransaction :one