function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Multi Table Join

Is there a way to do multi table  joins?


If so, how?




Depends on the relationships between the objects. If they are related, you can add all of the joins as relationships or subqueries depending on which way th relationship goes from your primary table.

Otherwise, you can use a wrapper class to merge your results together into a "temporary object" of sorts.


Here is a basic article on wrapper classes, and I am sure you can search the forums for more detailed examples: