Sorry for my question may be to much detailed but I can’t find more details event on the mongo documentation.
I tried to read but not sure how to understand relationships .
Here is how I understand
users.shipping_address.street and items.reviews.body
==> users.shipping_address.street has a OneToOne with users and items.reviews.body has a ManyToOne with user ?
users.credit_cards.number and items.reviews.body
==> this one is obvious I think.
items.title and items.reviews.body :
==> item.title has a OneToOne with Items and items.reviews.body has a ManyToOne with users ?
stores.address.street and items.description
==> stores.address.street is a OneToOne with stores and items.description is a OneToOne with items, but Store and Items have a M2M relationship it’s really confusing.
items.sold_at and items.reviews.body
==> as items and store are M2M so the condition is a M2M ? Or, item.sold_at is a M2M and items.reviews.body is a ManyToOne with users.
Sorry again if I wrote to much things but I can’t find explanations on how to read this, may be I didn’t understand all the video (English is not my native language).
Thanks for your help.