How To Use Mongo Commands for Import and Export

blog image

Importing a database is made easier in mongo with just one command.

mongoimport --db dbName --collection collectionName --file fileName.json --jsonArray

×
×

Ready to scale up your business?

Follow Us