sql

All things SQL and JDBC...
jacklombard 2020-08-03T14:42:37.384300Z

Is there any way to convert a parametrized sql statement like ["SELECT * FROM USER WHERE ID = ?" 9] to a prepared statement in clojure.jdbc? The prepare statement only accepts a string and not a vector

jacklombard 2020-08-03T14:42:55.384700Z

Apologies for the cross post from beginners

seancorfield 2020-08-03T18:59:20.385300Z

If you mean clojure.java.jdbc, no, there is not. It is possible in next.jdbc though @frozenfire1992

jacklombard 2020-08-06T06:14:25.407Z

Thank you Sean, will look at employing next.jdbc