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
@@ -5,4 +5,8 @@ CREATE TABLE IF NOT EXISTS Tag
);
INSERT INTO Tag
VALUES ($1, $2);
VALUES ($1, $2);
SELECT *
FROM Tag
WHERE post_id = $1;