hugsql 2019-08-27

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

i am also interested in this