Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Ask HN: How to do version control for documents in a database? | Better HN
Ask HN: How to do version control for documents in a database?
7 points · by
skywalker212
· 6y ago · 1 comment
I would like different ideas about implementing version control for the JSON documents that I store in my MongoDB database.
Comments
[–]
aliswe
6y ago
You can keep the master (current) version and store diffs/edits in a separate collection.