feat: implement entity and wiki management services, repositories, and routes with associated controllers
Build and Release / release (push) Successful in 1m34s
Build and Release / release (push) Successful in 1m34s
This commit is contained in:
@@ -67,4 +67,9 @@ FROM entities
|
||||
WHERE slug = $1 AND is_deleted = false;
|
||||
|
||||
-- name: GetEntitiesBySlugs :many
|
||||
SELECT * FROM entities WHERE slug = ANY($1::text[]) AND is_deleted = false;
|
||||
SELECT * FROM entities WHERE slug = ANY($1::text[]) AND is_deleted = false;
|
||||
|
||||
-- name: GetEntityIDsByGeometryIDs :many
|
||||
SELECT geometry_id, entity_id
|
||||
FROM entity_geometries
|
||||
WHERE geometry_id = ANY($1::uuid[]);
|
||||
@@ -127,3 +127,8 @@ SELECT id, wiki_id, title, created_at
|
||||
FROM wiki_content
|
||||
WHERE wiki_id = ANY($1::uuid[]) AND is_deleted = false
|
||||
ORDER BY created_at DESC;
|
||||
|
||||
-- name: GetWikiIDsByEntityIDs :many
|
||||
SELECT entity_id, wiki_id
|
||||
FROM entity_wikis
|
||||
WHERE entity_id = ANY($1::uuid[]);
|
||||
|
||||
Reference in New Issue
Block a user