Defining Relationships for NoSQL Databases

Relationships are associations between different objects in a model. You can create relationships and define its properties for NoSQL models using either of the following methods:

  • Embedding: This method embeds the related data in collections into a single or multiple structured collections.

  • Referencing: This method relates the data in multiple collections as identifying or non-identifying relationships.