When using MongoDB, you can use mongoimport
to import documents into a collection. mongoimport
is a command line utility that imports content from an Extended JSON, CSV, or TSV file. The import file could have been created by mongoexport
or some other export utility.
This article presents examples of importing a JSON file into MongoDB.
Continue reading