Watch keynotes and sessions from, our virtual developer conference.

Version control for documents

Is there a way to version control documents like git? I want to be able to let users update a document, while allowing them to use previous versions if needed.

Hi Alexander_Lau,

Daniel Coupal, one of our curriculum engineers, created a blog post that discusses this very problem. Please see:

The Document Versioning Pattern is just one option among many. A free MongoDB University course is available that dives much more into all the patterns if you’re interested: