Sean Corfield writes:
> Of course. The :auto-commit? parameter has to be passed to
> with-db-connection so that connections and their state are properly
> scoped, so that connections don’t “randomly” change their behavior
> half way through a with-db-connection block because a _query_
> (somethin
> reducible-query also works
Good.
> and it also ignores the :auto-commit?
> parameter when wrapped inside a with-db-connection
Of course. The :auto-commit? parameter has to be passed to with-db-connection
so that connections and their state are properly scoped, so that connections
don’t “rand
Ralf Schmitt writes:
>> (into [] (take 2) (jdbc/query db query {:fetch-size 500 :auto-commit?
>> false}))
>
> Sorry, this one works. will test with reducible-query tomorrow.
reducible-query also works (and it also ignores the :auto-commit?
parameter when wrapped inside a with-db-connection).
-