Referencing: Linking Documents by _id

Referencing links two documents by storing one's _id in the other, like a customerId in each order, so shared or changing data lives in one place, at the cost of a second query to follow the link.

By

Updated

Cheat sheet: Referencing: Linking Documents by _id
Category
MongoDB
Level
Apprentice
Tags
_id and ObjectId, Document Reference, Embedding vs Referencing, mongodb, nosql