feat(backend/api/get/post/<post_id>) implement api

This commit is contained in:
lumither committed 2024-05-04 21:06:01 +08:00
1 parent 131789bf83
commit 4f09648a34
3 files changed
+72 -7

No files matched your search

+5 -1
View File
@@ -17,4 +17,8 @@ ON CONFLICT (post_id)
summary = excluded.summary,
content = excluded.content,
last_update = excluded.last_update,
first_update = excluded.first_update
first_update = excluded.first_update;
SELECT *
FROM Post
WHERE post_id = $1;