Hi,
How can I generate a dynamic where clause which contains the like operator?
My initial approach was to just build the map and then pass it, but how can
I specify operators like "like"?
(defn generate-where-clause[]
...
{:name [like "%foo%"]}
)
(defn do-select[]
...
(let [clause (generate-where-clause)]
(select persons (where clause))))
Razvan
--
You received this message because you are subscribed to the Google Groups
"Korma" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.