Ask HN: How to do version control for documents in a database?

7 points by skywalker212 ↗ HN
I would like different ideas about implementing version control for the JSON documents that I store in my MongoDB database.

1 comment

[ 3.5 ms ] story [ 12.4 ms ] thread
You can keep the master (current) version and store diffs/edits in a separate collection.