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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -