hugsql 2019-05-15

I'm trying to use snippets and I'm a bit confused

It looks like that to use snippet I need to do the following:

1. Define a snippet with -- :snip my-snip 2. Add a snippet to my usual query with :snip:my-snip 3. Pass that snippet when calling a query from clojure (my-query {:my-snip (my-snip params)})

that seems a bit confusing

Can I simply define a snippet and then reuse it without passing it to every db function?

E.g. can I omit step 3?