@ -22,6 +22,7 @@ WHERE id = @id;
-- name: SelectComments :many
SELECT * FROM story_comment
WHERE (@chapter_id = '' OR chapter_id = @chapter_id)
ORDER BY fictional_date, created_date
LIMIT NULLIF(@limit_size::INT, 0);
-- name: DeleteComment :exec