Many To Many Relationship and Dataloader #6419
Unanswered
codelover2k
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I implemented a one-to-one and a one-to-many relationship with dataloader and I am happy with it.
Can someone show me a simple example to do a many-to-many query with dataloader.
(pseudo code would be enough)
Lets say we have students and classes.
A student can have many classes.
A class can have many students.
They share a students_classes bridge/join table.
I do not know how implement an efficient way to query students and their classes with dataloader in this many-to-many relation
and I do not know how to query all students with the class A, B or C in an efficient way with dataloader.
would be great to see a simple example of that!
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions