diff --git a/src/honeysql/helpers.cljc b/src/honeysql/helpers.cljc index a0a0341..77948ad 100644 --- a/src/honeysql/helpers.cljc +++ b/src/honeysql/helpers.cljc @@ -84,7 +84,7 @@ [m pred logic-op])) (defn where [& args] - (let [[m pred] (prep-where args)] + (let [[m pred] (prep-where (remove nil? args))] (if (nil? pred) m (assoc m :where pred))))