-- name: CreateTest :one
INSERT INTO test (data) VALUES ($1) RETURNING id;

-- name: GetTest :one
SELECT id, data FROM test WHERE id = $1;

-- name: UpdateTest :exec
UPDATE test SET data = $1 WHERE id = $2;

-- name: DeleteTest :exec
DELETE FROM test WHERE id = $1;