From 650053446d18424500ae6330b5ad0da81fa86373 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 17 Oct 2024 17:40:49 +0200 Subject: SQL: Fetch * instead of specific columns for simplicity --- sql/categories.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/categories.sql') diff --git a/sql/categories.sql b/sql/categories.sql index e7d9579..2694adc 100644 --- a/sql/categories.sql +++ b/sql/categories.sql @@ -1,5 +1,5 @@ -- name: GetCategoriesOrdered :many -SELECT id, name +SELECT * FROM categories WHERE user_id = $1 ORDER BY name ASC; \ No newline at end of file -- cgit v1.2.3-70-g09d2