Libraries

This commit is contained in:
Abhishek Shroff
2024-03-13 21:34:34 +05:30
parent 970a956f96
commit e29fd4535c
17 changed files with 236 additions and 109 deletions

View File

@@ -0,0 +1,9 @@
-- name: LibraryById :one
SELECT * from libraries where id = $1;
-- name: CreateLibrary :exec
INSERT INTO libraries(
id, owner, display_name
) VALUES(
$1, $2, $3
);