Skip to main content
Relationships that point to multiple records are displayed in the frontend in the “Related Data” and “Explorer” tabs.

One-to-Many relationships

In a one-to-many relationship, one record from a Collection is attached to multiple records of another Collection. Think about countries and towns: a country has multiple towns, and each town belongs to a country.

Many-to-Many relationships

In a many-to-many relationship, 3 Collections are used instead of 2 to build the relationship. This allows multiple records from one Collection to be attached to multiple records from another Collection. For instance, on a movie recommendation website, each user can rate many movies, and each movie can be rated by many users. The 3 Collections used are users (the “origin”), ratings (the “through”), and movies (the “foreign” Collection).

External relationships

External relationships allow defining Collections which will only be available through the “Related Data” section of a given model.
External relationships do not support pagination.