feat: user routing

feat:  contact
This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-12-14 03:11:39 +03:00
parent d0187b1b42
commit aa679b5a05
18 changed files with 304 additions and 64 deletions

View file

@ -47,11 +47,11 @@ pub async fn update(
sqlx::query_as!(
Comment,
r#"
UPDATE "comment" SET "comment" = $1 WHERE "creation_time" = $2
UPDATE "comment" SET "comment" = $2 WHERE "creation_time" = $1
RETURNING *
"#,
comment,
creation_time
creation_time,
comment
)
.fetch_one(database_connection)
.await