java - jOOQ - array of select query -


does jooq support array of select query? want following:

select table.*, array(select another_table.id another_table ...)   table; 

i tried experimenting dsl.array(context.select(...).asfield()) generates array[(select ...)] instead of array(select(...)).

i should have done:

postgresdsl.array(context.select(...)) 

note using postgresdsl instead of generic dsl , not applying .asfield() select, inline inner select query outer query.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -