Closed lnostdal closed 10 years ago
...seems this is because conn
isn't passed on to the make-query
call in query
.
Also, this looks strange: https://github.com/niwibe/clj.jdbc/blob/master/src/jdbc.clj#L448 .. how can it ever be a string when the :pre check requires a vector?
You are right! query function is introduced in earlier commits and it was untested. Now, I have added test for it and fix this issue.
Also, I have fixed a pre conditions for accept strings.
Thanks for report it! ;)
I'm getting this: