How to use multiset to get associated list of records with JOOQ?
I am trying to get a record (engagement note), along with a list of associated records (attendees). I want to store them all as records, but cannot seem to get it to work. All examples I've seen online of multiset just use a few fields rather than the entire record. This is also in Kotlin if that makes a difference.
See below for what I'm attempting to do, it does not work.
context.select(
ENGAGEMENT_NOTE.asterisk(),
multiset(
select()...