5b7160fe44
Job Collector * createstructure * mostupdatevalidation * repocollectorupdate * updateoutline * updatevalidation * scriptupdate * cleanupdockerignore * update * collectorupdateapi
5 lines
166 B
SQL
5 lines
166 B
SQL
-- name: GetDocument :one
|
|
SELECT id, jobId FROM documents WHERE id = $1 LIMIT 1;
|
|
|
|
-- name: CreateDocument :one
|
|
INSERT INTO documents (jobId) VALUES ($1) RETURNING id; |