Merged in feature/textextraction (pull request #110)
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
-- name: CreateClient :one
|
||||
INSERT INTO clients (externalId, name) VALUES ($1, $2) RETURNING id;
|
||||
-- name: CreateClient :exec
|
||||
INSERT INTO clients (id, name) VALUES ($1, $2);
|
||||
|
||||
-- name: GetClient :one
|
||||
SELECT * FROM fullClients WHERE id = $1;
|
||||
|
||||
-- name: GetClientByExternalId :one
|
||||
SELECT * FROM fullClients WHERE externalId = $1;
|
||||
|
||||
-- name: UpdateClient :exec
|
||||
UPDATE clients SET name = $1 WHERE id = $2;
|
||||
|
||||
@@ -39,7 +36,7 @@ doc_text_entries AS (
|
||||
d.clean_fail
|
||||
FROM
|
||||
doc_clean_entries d
|
||||
LEFT JOIN currentTextEntries cte ON cte.cleanEntryId = d.clean_entry_id
|
||||
LEFT JOIN currentTextEntries cte ON cte.cleanId = d.clean_entry_id
|
||||
),
|
||||
required_results AS (
|
||||
-- All required document-query-version combinations
|
||||
|
||||
Reference in New Issue
Block a user