hugsql

Martin 2018-11-15T20:00:04.014800Z

Hi, I'm missing something rather basic but how does one write a list query?

Martin 2018-11-15T20:00:23.015300Z

I'm using a basic luminous template

Martin 2018-11-15T20:00:43.015700Z

and have added:

Martin 2018-11-15T20:00:52.016Z

-- :name list-users :? :*
-- :doc list all users
SELECT * FROM users
LIMIT :limit OFFSET :offset

Martin 2018-11-15T20:01:01.016300Z

to the queries.sql

Martin 2018-11-15T20:03:37.016800Z

nvm, seems like I was having trouble reload my repl