hugsql

2019-08-27T16:18:12.027600Z

Is it possible to use a snippet inside a SQL file? Something like:

-- :snip select-snippet
select ...

-- :name my-fun1
:select-snippet
where ...

-- :name my-fun2
:select-snippet
where ...
Then I can call my-fun1 and my-fun2 in code

lepistane 2019-08-27T20:14:23.027800Z

i am also interested in this