K
Kysely•13mo ago
bombillazo

Relational table join question

Hey, just out of curiosity, does Kysely have any helpers for joining tables across a relational table? For example, if I have tables user and account joined via the user_account relational tables, if I use jsonArrayFrom from a query on the user table to get accounts, do I always need to do a join with the intermediary table or does Kysely provide any type of shortcut for this?
3 Replies
Unknown User
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
bombillazo
bombillazoOP•12mo ago
how would this help for joining 2 tables through the intermediary relation table ?
Igal
Igal•12mo ago
Hey 👋 No, Kysely doesn't have M:N helper.
Want results from more Discord servers?
Add your server