![]() The port and/or hostname can be specified in multiple ways: Step 2: Specifying Host And/Or Port Of The MongoDB Instance mongoexport -collection=webinars -db=conduct -out=webinars.jsonĪ) Specifying the collection that you want to export, can be done in two ways: -collection= or -c=ī) Specifying the output file that you want to export to, can similarly be done in two ways: -out= or -o=Ĭ) Specifying the database you will be exporting from is represented as : -db= or -d=Įxample mongoexport command: mongoexport -db db1 -c collection1 -out dataexport.json
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |