Add todo about categories query
This commit is contained in:
parent
7337bceff3
commit
01d13aa0f3
1 changed files with 1 additions and 0 deletions
|
|
@ -790,6 +790,7 @@ settings:
|
||||||
routes:
|
routes:
|
||||||
|
|
||||||
get "/categories.json":
|
get "/categories.json":
|
||||||
|
# TODO: Limit this query in the case of many many categories
|
||||||
const categoriesQuery = sql"""select * from category;"""
|
const categoriesQuery = sql"""select * from category;"""
|
||||||
|
|
||||||
var list = CategoryList(categories: @[])
|
var list = CategoryList(categories: @[])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue