Fork me on GitHub
#sql
<
2020-08-03
>
jacklombard14:08:37

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

jacklombard14:08:55

Apologies for the cross post from beginners

seancorfield18:08:20

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

jacklombard06:08:25

Thank you Sean, will look at employing next.jdbc