taskcafe/internal/db/query/organization.sql

6 lines
170 B
MySQL
Raw Permalink Normal View History

2020-04-10 04:40:22 +02:00
-- name: GetAllOrganizations :many
SELECT * FROM organization;
-- name: CreateOrganization :one
INSERT INTO organization (created_at, name) VALUES ($1, $2) RETURNING *;