7 lines
222 B
SQL
7 lines
222 B
SQL
-- name: CreateTaskLabelForTask :one
|
|
INSERT INTO task_label (task_id, project_label_id, assigned_date)
|
|
VALUES ($1, $2, $3) RETURNING *;
|
|
|
|
-- name: GetTaskLabelsForTaskID :many
|
|
SELECT * FROM task_label WHERE task_id = $1;
|