Is it possible to use the Query API to select many-to-many relations?
In prisma I can do this to select the entities from the "other side" of a many-to-many join:
I tried the same with Drizzle:
and it seems that Drizzle doesn't know about these? Is there a way to perform deep nesting or do I have to resort to using the
Select
API?1 Reply
I tried to do the same with a
select
and it doesn't seem to group the results:
and value of result
was: