We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(where false)
{:where false}
This works:
(sql/format {:select :foo :where false}) ;; => ["SELECT foo WHERE false"]
This disregards the false:
false
(sql/format (-> (select :foo) (where false))) ;; => ["SELECT foo"]
It can be worked around like this:
(sql/format (-> (select :foo) (where [false]))) ;; => ["SELECT foo WHERE (FALSE)"]
But it would be best if the behavior was consistent. Appears to be an impedance mismatch between SQL and Clojure :)
The text was updated successfully, but these errors were encountered:
I can look into this but I am a bit concerned to muck around too much with the generic function in helpers.clj.
generic
helpers.clj
Sorry, something went wrong.
74b0596
add a test for #431 :)
e553f4f
No branches or pull requests
This works:
This disregards the
false
:It can be worked around like this:
But it would be best if the behavior was consistent. Appears to be an impedance mismatch between SQL and Clojure :)
The text was updated successfully, but these errors were encountered: