Thanks Lukas!

I didn't realise you can do multiple .selects. I tried 
.select().select(OtherStuff), but it only returned OtherStuff, it isn't too 
bad to specify table.fields() for each of the tables though :)

Thanks, Ryan

On Thursday, 15 August 2013 20:35:53 UTC+8, Ryan How wrote:
>
> Is there an easy way to select all columns + some extra column?
>
> eg.
>
> SELECT *, COUNT FROM MYTABLE;
>
> I might be missing something obvious, but I have been doing 
> create.select(Util.combine(Table.getFields(), OtherTable.getFields(), 
> whateverElseIwant)).from(Table.join(....
>
> Where Util.combine just sticks them all in 1 big array.
>
> Thanks!
>
> Ryan
>

-- 
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/groups/opt_out.

Reply via email to