O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required