DEV Community

Sven Glöckner
Sven Glöckner

Posted on

Document Versioning in MongoDB

Recently, I'm working on a client's project with MongoDB. The need for versioning of documents came up. While searching the web I found really helpful information I'd like to share.

https://www.mongodb.com/blog/post/building-with-patterns-the-document-versioning-pattern

https://www.askasya.com/post/revisitversions/

I will go the way with "separate collection for previous versions".

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay