Merged in feature/textExtractionsPart2 (pull request #193)
Continue finishing the parts of the text extraction plan * add missing fields
This commit is contained in:
@@ -4,6 +4,10 @@ INSERT INTO clients (clientId, name) VALUES ($1, $2);
|
||||
-- name: GetClient :one
|
||||
SELECT * FROM fullClients WHERE clientId = $1;
|
||||
|
||||
-- name: ListClients :many
|
||||
-- Returns all clients ordered by name
|
||||
SELECT * FROM fullClients ORDER BY name;
|
||||
|
||||
-- name: UpdateClient :exec
|
||||
UPDATE clients SET name = $1 WHERE clientId = $2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user