comment, interaction db
This commit is contained in:
parent
ee9015c1e3
commit
60d18771d7
17 changed files with 184 additions and 32 deletions
|
@ -65,7 +65,7 @@ pub async fn delete(id: i64, database_connection: &Pool<Postgres>) -> Result<Use
|
|||
sqlx::query_as!(
|
||||
User,
|
||||
r#"
|
||||
DELETE FROM "user" where id = $1
|
||||
DELETE FROM "user" where "id" = $1
|
||||
RETURNING *
|
||||
"#,
|
||||
id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue