put sql statements in separate files
This commit is contained in:
parent
1bb63b1fa4
commit
080bb80956
6 changed files with 107 additions and 17 deletions
12
src/get_food.sql
Normal file
12
src/get_food.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
SELECT
|
||||
id,
|
||||
portion,
|
||||
name,
|
||||
kc_per_serving,
|
||||
target_servings,
|
||||
actual_servings,
|
||||
color
|
||||
FROM
|
||||
food
|
||||
WHERE
|
||||
id = ?1
|
||||
Loading…
Add table
Add a link
Reference in a new issue