-- name: CreateClient :one
INSERT INTO clients (name) VALUES ($1) RETURNING id;

-- name: GetClient :one
SELECT id, name, canSync FROM clients WHERE id = $1;

-- name: UpdateClient :exec
UPDATE clients SET name = $1, canSync = $2 WHERE id = $3;