Copying a Few Fields: the Extended Reference Pattern

An order can keep a product's _id together with a copy of its name and the price paid, so a "my orders" page needs one read and the price stays what the customer paid; copy only a few fields, and decide for each one whether it stays as history or follows the original.

By

Updated

Cheat sheet: Copying a Few Fields: the Extended Reference Pattern
Category
MongoDB
Level
Journeyman
Tags
Denormalization in NoSQL, Extended Reference Pattern, mongodb, Schema Design Patterns