This task will import all mongo collection data provided by the user.
The import will be read from a folder at the application root: mongo_import
All collections will be read from a .json
file structure.
In conjunction with the Mongo Export task, this functionality can be used to move Mongo data from one server/instance to another.
Warning! This will remove all data from the specified collections
This task can be executed by running the following command in your project:
node server.js mongoImport
Last modified | Wednesday, September 8, 2021, 1:40:23 PM UTC |
Last author | Glenn de Haan |
Commit ID | bb2c64d |