Open arichiardi opened 3 years ago
I'm afraid this isn't possible due to the nature of pods, unless you can provide a string/EDN version of the function that should be applied to the result set. Would that be a reasonable compromise?
I personally like how zprint
does it - basically you specify a function in its .edn
file
https://github.com/kkinnear/zprint/blob/master/doc/options/optionfns.md
This could be added to bb.edn
with some kind of keyword wrapping it or something...not sure...it can be an extension mechanism for contributing to pods
The library expose a way to use transducers when transforming result sets: a function called plan. This is very handy and one of the main features of
next.jdbc
.Describe the solution you'd like Add
next.jdbc/plan
to the api. There might be a bit of spelunking because of the implementation but it might doable.Describe alternatives you've considered Post process results sets.