-- name: SelectUser :one
SELECT * FROM "user" WHERE id=$1 LIMIT 1;

-- name: SelectUsers :many
SELECT * FROM "user";

-- name: InsertUser :exec
INSERT INTO "user" (id, nick, permissions)
VALUES (
    @id, @nick, @permissions
);
