Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 530 Bytes

ReadMe.md

File metadata and controls

7 lines (4 loc) · 530 Bytes

MongoDB-Import-JSON

  • <USERNAME> and <PASSWORD> are the username and password of the database user and refers to the cluster that holds the database.

  • Replace <DATABASE> and <COLLECTION> with the name of the database and the collection, into which you want to import the JSON file and <FILENAME> with the location of the JSON file.

  • You can even import various other file formats such as TSV or CSV using mongoimport. Consult MongoDB’s official documentation on mongoimport for more information.