JSON, CSV, 또는 TSV 파일의 내용을 MongoDB 데이터베이스로 가져오기. 더 많은 정보: https://docs.mongodb.com/database-tools/mongoimport/.
mongoimport --file={{경로/대상/파일.json}} --uri={{mongodb_uri}} --collection={{컬렉션_이름}}
mongoimport --type={{csv}} --file={{경로/대상/파일.csv}} --db={{데이터베이스_이름}} --collection={{컬렉션_이름}}
mongoimport --jsonArray --file={{경로/대상/파일.json}}
mongoimport --file={{경로/대상/파일.json}} --mode={{delete|merge|upsert}} --upsertFields="{{필드1,필드2,...}}"
mongoimport --type={{csv}} --file={{경로/대상/파일.csv}} --fieldFile={{경로/대상/필드_파일.csv}} --ignoreBlanks
mongoimport --help