Associations

In dataloom you can create association using the foreign-keys column during model creation. You just have to specify a single model to have a relationship with another model using the ForeignKeyColum. Just by doing that dataloom will be able to learn bidirectional relationship between your models. Let’s have a look at the following examples:

  1. One to One Association

  2. One to Many Association

  3. Many to One Association

  4. What about bidirectional queries?

  5. Self Association

  6. Many to Many Association