Many to Many Relationships

So far, you have defined a couple of Force Platform objects and created a productive link between them. The power of relationships drives data design on the Force Platform, and good development practices suggest that you spend time designing your objects to leverage the full productivity of these relationships. In this section, you will learn about a different tyype of relationships you can easily create in your Force Platform database.

The relationship you created in the previous section is known as a one-to-many relationship. Each Position record is associated with one Location record, and a Location record can be associated with many Position records.

But what about situations that call for a many-to-many relationship ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.