Remove nil argument to where
This commit is contained in:
parent
3588768970
commit
15af00e0de
1 changed files with 1 additions and 1 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue