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:
@@ -4,14 +4,6 @@ SELECT * FROM collectorQueryDependencyTree WHERE clientId = @clientId;
|
||||
-- name: GetCollectorByClientID :one
|
||||
SELECT * FROM fullActiveCollectors WHERE clientId = @clientId LIMIT 1;
|
||||
|
||||
-- name: GetCollectorByClientExternalID :one
|
||||
WITH client as (
|
||||
SELECT id from clients where externalId = @clientId
|
||||
)
|
||||
SELECT fc.*
|
||||
FROM fullActiveCollectors as fc
|
||||
JOIN client as c ON fc.clientId = c.id LIMIT 1;
|
||||
|
||||
-- name: AddLatestCollectorVersion :one
|
||||
INSERT INTO collectorVersions (clientId) VALUES ($1) RETURNING id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user