Hi Shyam,

That is a bug in the manual. The methods are called fields() and field().
I've registered an issue for this, thanks for reporting!
https://github.com/jOOQ/jOOQ/issues/2994

Regards,
Lukas


2014-01-29 Sha <[email protected]>

> Hi Lukas,
>
> Me going through the JOOQ manual, *4.4.5. Nested SELECTs *section.
>
> On page 66 i have the following example.
> ------------------------------------------------
>
> Table<Record> nested =
> create.select(BOOK.AUTHOR_ID, count().as("books"))
> .from(BOOK)
> .groupBy(BOOK.AUTHOR_ID).asTable("nested");
>
> create.select(nested.getFields())
> .from(nested)
> .orderBy(nested.getField("books"));
>
> -----------------
>
> when try in the similar fashion , i dont find any getFields() or
> getField() menthods.
> Where those methods gone?
>
> this is my last resort as i am ran out of all the possible JOOQ features
> for my POC.
>
> My help or suggestion would be highly appreciable.
>
> Thank you.
> ~Shyam
>
>  --
> 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.
>

-- 
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