On Wed, Sep 11, 2024 at 2:37 PM Nico van de Kamp <[email protected]>
wrote:
> Only what keeps me thinking is why do I have to declare val with the alias
> to use that in query:
> val ZaakMainAlias = ZAAK.`as`("ZAAK_MAIN") // and to use that in the
> query:
> ...
> .from(ZaakMainAlias)
>
> Why not like SQL feels more natural:
> .from(zknZaakMainAlias.`as`("zaak_Main")
>
> But ok, maybe in near future I will find it why it needs to be done width
> 'val'
>
Of course you can inline the aliasing if you want. But then, how do you
dereference a column from the aliased table?
I hope this helps
Lukas
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/CAB4ELO6W4Tbbc_2aa%2BTDWmr4O88hCVSpxD886wEYFBnZ6Wp90g%40mail.gmail.com.