Google Groups - 0 views
-
There are several common strategies for document versioning. The strategy you select will depend on the trade-offs you want to make. Please note that MongoDB does not have any support for triggers. So a few of these methods will require that you be able to do multiple writes.
-
=== Strategy 1: embed history === In theory, you can embed the history of a document inside of the document itself. This can even be done atomically.
-
=== Strategy 2: write history to separate collection ===
- ...2 more annotations...