working notely

This commit is contained in:
wagslane
2023-05-30 21:42:09 -06:00
parent 80ec635705
commit e2c8b1bcd9
5 changed files with 63 additions and 132 deletions

View File

@@ -10,11 +10,3 @@ SELECT * FROM notes WHERE id = ?;
-- name: GetNotesForUser :many
SELECT * FROM notes WHERE user_id = ?;
--
-- name: UpdateNote :exec
UPDATE notes SET updated_at = ?, note = ? WHERE id = ?;
--
-- name: DeleteNote :exec
DELETE FROM notes WHERE id = ?;
--