Merged in feature/textExtractionsPart3 (pull request #195)

enrich doc responses

* enrich doc responses
This commit is contained in:
Jay Brown
2025-12-11 14:25:51 +00:00
parent a94637ab13
commit 8c218f162b
22 changed files with 1797 additions and 363 deletions
+12
View File
@@ -76,3 +76,15 @@ SELECT
FROM parts p
RIGHT JOIN max_part mp ON p.part = mp.max_part_num
GROUP BY p.part;
-- name: GetDocumentEnriched :one
-- Retrieves a document with extended metadata including folder and filename
SELECT
d.id,
d.clientId,
d.hash,
d.folderId,
d.filename,
d.originalPath
FROM documents d
WHERE d.id = $1;