Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Node.js and Mongo
*Location*: https://docs.mongodb.org/getting-started/node/import-data/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: import-data
Description
i am not able to import data to collection of test db.
my query is - mongoimport --db test --collections collectionname --file fileneme.json
the location of the file is directory i am currently in.
error - error parsing command line options : unknown option "collections"