How does MongoDB migration like MySQL?

  mongodb, question

When using MySQL, for example, using Django to connect MySQL, a new field is added to model at this time. It can be operated on the command line only after a little migration. Then all previous records will add this field, but how to operate in MongoDB? Nodejs is the back end. Is there this function?

Is it to open MongoDB directly and then update the command line? Is there a migration tool like Django?

MongoDB is a non-relational database with no concept of columns. It means that you don’t need to add an empty column to every document. If you have it, you have it. If you don’t have it, you don’t have it. It doesn’t affect the usage.