Open Licenser opened 12 years ago
(cql/where (in :MONTH/date [1 2])) results in
while (cql/where (= :MONTH/date 2)) results in
https://github.com/LauJensen/clojureql/blob/master/src/clojureql/predicates.clj#L86 should have a parameterize in there if I am not mistaken?
(cql/where (in :MONTH/date [1 2])) results in
:clojureql.predicates.APredicate{:stmt ["MONTH/date IN (?,?)"], :env [[1 2]]}
while (cql/where (= :MONTH/date 2)) results in
:clojureql.predicates.APredicate{:stmt ["(MONTH(date) = ?)"], :env [2]}