Files
query-orchestration/database/queries/query.sql
T

2 lines
149 B
SQL
Raw Normal View History

2024-12-23 12:26:05 +00:00
-- name: GetQueryConfig :one
SELECT id, config FROM queryConfigs where queryId = $1 and addedVersion >= $2 and COALESCE(removedVersion, $2 - 1) < $2;