Answers for "how to use mongoimport"

1

how to import a file from ones directory into mongodb

mongoimport --db test --collection inventory ^
          --authenticationDatabase admin --username <user> --password <password> ^
          --drop --file ~downloadsinventory.crud.json
Posted by: Guest on June-16-2020
0

mongoexport syntax

mongoexport --collection=webinars --db=conduct --out=webinars.json
Posted by: Guest on January-06-2022

Code answers related to "how to use mongoimport"

Browse Popular Code Answers by Language