Server tools MongoImport

Hello i did not understand why mongo Import tool when import data use by default test.students, in lecture Server tools ?
mongoimport --port 30000 ***** authenticationDatabase “admin” students.json
if i need to import on specific database how i can tell to Import tool to import this json file into certain database ?
Can someone explain to me ?
Thank you in advance.

You will find in the documentation at https://docs.mongodb.com/database-tools/mongoimport/ the appropriate parameter to use in order to accomplish what you want to do.

1 Like

Thank you Steevej, i found what parameter i need to set up that allows me to upload data into certain Database and collection as well.
Thank you again.