I want to import new dataset into MongoDB campass.I dont know how to do that plz help.
Please refer to https://docs.mongodb.com/manual/reference/program/mongoimport/.
Thank you for your email.
It’s very useful to me but I am not able to find how to do it with command line .
Can you help please.
What data you are trying to import?
Please search our forum.Many threads available on command line usage of mongoimport
What are you trying to do ? What data you want to import ?
I want to import JSON file into mongo db using command line .
As documented at https://docs.mongodb.com/database-tools/mongoimport/, the general syntax is
mongoimport <options> <connection-string> <file>
Many examples are given in the documentation.