This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-17
Channels
- # announcements (4)
- # beginners (82)
- # boot (1)
- # calva (26)
- # cider (13)
- # clj-kondo (41)
- # cljs-dev (25)
- # cljsrn (7)
- # clojure (82)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (13)
- # clojure-europe (11)
- # clojure-italy (27)
- # clojure-nl (8)
- # clojure-russia (6)
- # clojure-spec (32)
- # clojure-uk (15)
- # clojurescript (61)
- # core-async (1)
- # cursive (9)
- # data-science (1)
- # datomic (18)
- # duct (1)
- # emacs (2)
- # events (7)
- # fulcro (13)
- # graalvm (5)
- # immutant (1)
- # jobs-discuss (63)
- # leiningen (3)
- # off-topic (48)
- # om (3)
- # pathom (13)
- # planck (20)
- # prelude (3)
- # re-frame (55)
- # reagent (13)
- # reitit (5)
- # rewrite-clj (12)
- # shadow-cljs (67)
- # spacemacs (14)
- # sql (5)
- # tools-deps (4)
- # vim (23)
- # yada (2)
Hi all!
:row-fn
of query
produces connection closed error if :as-arrays?
set to true
.
I use :row-fn
for java.sql.Clob
to String
conversion. If :as-arrays?
is false
, it works well.
@kostafey Can you put a small example, using one of the embedded DBs, up on GitHub for me to look at that code?
Are you also providing :result-set-fn
in your code? If so, what are you passing there?
The default :result-set-fn
for :as-arrays? true
is vec
which is eager and should force realization of the row values, regardless of :row-fn
. But if you're passing in :result-set-fn
, you're overriding the default and if you pass in something that doesn't eagerly realize the whole result set, you would get that error.