Created
June 18, 2012 00:40
-
-
Save kirasystems/2946182 to your computer and use it in GitHub Desktop.
without-results function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn without-results | |
"Stop the query returning results." | |
[query] | |
(dissoc query :results)) | |
; Example | |
(insert log without-results (values [{:foo 1 :bar 2}])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment