Merged in feature/parallellogqueries (pull request #132)
Testing Tweaks * parallel * slowestquery * split * cleanup * health * dynamiccores * go * profile * timeout * commitmychanges * taskfile * sqlcheckstart * client * cost * ctxtimeout
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
-- name: CreateClient :exec
|
||||
INSERT INTO clients (id, name) VALUES ($1, $2);
|
||||
INSERT INTO clients (clientId, name) VALUES ($1, $2);
|
||||
|
||||
-- name: GetClient :one
|
||||
SELECT * FROM fullClients WHERE id = $1;
|
||||
SELECT * FROM fullClients WHERE clientId = $1;
|
||||
|
||||
-- name: UpdateClient :exec
|
||||
UPDATE clients SET name = $1 WHERE id = $2;
|
||||
UPDATE clients SET name = $1 WHERE clientId = $2;
|
||||
|
||||
-- name: AddClientCanSync :exec
|
||||
INSERT INTO clientCanSync (canSync, clientId) VALUES ($1, $2);
|
||||
|
||||
Reference in New Issue
Block a user