Fork me on GitHub
#sql
<
2023-10-03
>
fabrao23:10:32

Hello all, I'm having this problem No implementation of method: :-execute-all of protocol: #'next.jdbc.protocols/Executable found for class: nil only when I run from Docker. Any ideas? Thank you The call is (jdbc/execute! ds query {:builder-fn rs/as-unqualified-lower-maps})

hiredman00:10:03

put (assert ds) before the call

hiredman00:10:42

that error means the protocol function -execute-all is being invoked on nil when the protocol hasn't been extended to nil

hiredman00:10:21

(assert ds) will throw a big scary exception if ds is nil, if it does that means something that happens before it the source of the nil, if it doesn't it means some internal coercion execute! might do is the source of the nil

fabrao00:10:58

I'll try here and let you know

fabrao00:10:45

worked, I saw the problem, thank you