i new mongodb , trying export collection in json format. when executed query learnt query online manual error.
input:
mongoexport -d test -c nick -o c:/results.json --journal output:
error parsing command line options: --dbpath , related flags not supported in 3.0 tools. i not sure how interpret output.
i using mongodb 3.0.4 version. implementing query in command line , not in shell.
the --journal option 1 causing problem option removed mongo 3.0.0 (http://docs.mongodb.org/manual/reference/program/mongoexport/#options)
remove --journal option , should work fine.
Comments
Post a Comment