0

Does Mongo DB has any built-in feature to auto increment versions of a document. If the newly inserted document is different then to create a new version and save previous as history. I have referred to the MongoDB Document Versioning Pattern blog, want to know if there is this feature built in?

  • https://stackoverflow.com/q/3507624/5045688 – Alexander Petrov Mar 24 '23 at 10:48
  • @AlexanderPetrov , For Mongodb-Java is there any similar library like Mongoose versioned https://github.com/pier4all/mongoose-versioned which is available for mongodb-nodejs or like Historical-collection https://pypi.org/project/historical-collection/ for python – codeit482 t Mar 24 '23 at 16:45

0 Answers0