Merge pull request #204 from visibletrap/master
Remove nil argument to where
This commit is contained in:
commit
caf904a40d
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