Actually this would solve things actually, we have a unionQuery function that takes a List<T> and a Function<T,Select<....>> Which gets reduced into a single query.
I think that function was just returning Select, but making it return SelectUnionStep would solve this. Cheers. Sent from my iPhone > On 18/01/2019, at 11:05 PM, Lukas Eder <[email protected]> wrote: > > I'm not sure why you're calling Select.union() instead of > SelectUnionStep.union()... > https://www.jooq.org/javadoc/latest/org/jooq/SelectUnionStep.html -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
