Finished the basic queries for all the tables
This commit is contained in:
parent
866f8aca87
commit
b8d62012b2
1
sql/location/get.sql
Normal file
1
sql/location/get.sql
Normal file
@ -0,0 +1 @@
|
||||
SELECT * FROM location WHERE id = $1;
|
5
sql/location/insert.sql
Normal file
5
sql/location/insert.sql
Normal file
@ -0,0 +1,5 @@
|
||||
INSERT INTO location (
|
||||
id, country, province, city, district, google_maps_url
|
||||
) VALUES (
|
||||
$1, $2, $3, $4, $5, $6
|
||||
) RETURNING *
|
Loading…
Reference in New Issue
Block a user