You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first result returns 1 (as I expected) but the second row returns 10 (one per row in that table in the database I'm connecting to).
It appears that somewhere in the SQL parsing, having a line that is only a comment string is aborting the processing, so that the WHERE clause is ignored in the name with-blank-comment function.
I doubt this is relevant, but I'm connecting to a Postgres backend; I've got [com.layerware/hugsql "0.4.6"]and [org.clojure/java.jdbc "0.4.2"] in my lein deps :tree output.
The text was updated successfully, but these errors were encountered:
I've got these two lines in a SQL file. Note that the second function contains a single blank comment right before the WHERE clause:
When I run this file via Clojure code looking similar to:
The first result returns 1 (as I expected) but the second row returns 10 (one per row in that table in the database I'm connecting to).
It appears that somewhere in the SQL parsing, having a line that is only a comment string is aborting the processing, so that the WHERE clause is ignored in the
name with-blank-comment
function.I doubt this is relevant, but I'm connecting to a Postgres backend; I've got
[com.layerware/hugsql "0.4.6"]
and[org.clojure/java.jdbc "0.4.2"]
in mylein deps :tree
output.The text was updated successfully, but these errors were encountered: