fix create teacher route, refactoring route function
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
insert into patients ("full_name", "phone")
|
||||
values($1,$2)
|
||||
returning "id";
|
||||
insert into patients(
|
||||
"full_name",
|
||||
"phone"
|
||||
)
|
||||
values($1, $2)
|
||||
returning
|
||||
"id",
|
||||
"full_name" as "full_name!",
|
||||
"phone" as "phone!"
|
||||
|
||||
Reference in New Issue
Block a user