Fork me on GitHub
#sql
<
2021-02-17
>
dangercoder12:02:27

When using next.jdbc, is builder-function something that can be used when using prepared statments? Could not find that option (im calling a stored procedure from a legacy database)

dangercoder12:02:38

was thinking about the option map that can contain a :builder-fn key

seancorfield17:02:43

The builder only applies to the result set -- after the statement runs: if you aren't building a result set, builder function has no effect (which is why, in plan, if you take the optimized path and avoid building rows, the builder function is not invoked).

dangercoder08:02:26

I see, thanks for the explanation Sean 🙂

seancorfield17:02:04

This is described in the docs but if you have suggestions for making it clearer, let me know -- or open an issue with the suggestions.

👍 3