meteor Mongo Database Management Import a JSON File into Meteor


Example

Importing into a default Meteor instance is fairly easy. Note that you can add a --jsonArray option if your json file is exported as an array from another system.

mongoimport --db meteor --port 3001 --collection foo --file foo.json