Finished the basic queries for all the tables

This commit is contained in:
Franklin 2023-03-09 13:54:54 -04:00
parent 866f8aca87
commit b8d62012b2
2 changed files with 6 additions and 0 deletions

1
sql/location/get.sql Normal file
View File

@ -0,0 +1 @@
SELECT * FROM location WHERE id = $1;

5
sql/location/insert.sql Normal file
View File

@ -0,0 +1,5 @@
INSERT INTO location (
id, country, province, city, district, google_maps_url
) VALUES (
$1, $2, $3, $4, $5, $6
) RETURNING *