Is there an easy way for "member of"?

I do have a user and group table, and would like to get all groups where a user is member of. I could easily do that with joins, but I do know that some db frameworks (like doctrine) offer a "member of" helper. Is there something alike (that I'm too dumb to find in the docs)?
1 Reply
Angelelz
Angelelz10mo ago
No, drizzle doesn't have such a helper To do this, you need to manually create the sql statement.
Want results from more Discord servers?
Add your server