hello
if I want to have a query with a dynamic WHERE
part (where some conditions are sometimes included, sometimes not) I need to use honeysql right?
Hugsql can do this, I believe
You can be as dynamic as you want if you use db-fn
.
you can do things like this --~ (if (:model params) " and m.code = :model" " and m.code is null")
on 98% of my cases that's enough