Mac OSX Sierra and Go 1.6 Incompatibility
Users running on Mac OSX Sierra require the 3.2.10 or newer version
bsondump is a diagnostic tool for inspecting
BSON files, not a tool for data ingestion or other application use.
Changed in version 3.0.0:
bsondump removed the
--dbpath and the
Returns information on the options and use of
Increases the amount of internal reporting returned on standard output or in log files. Increase the verbosity with the
-vform by including the option multiple times, (e.g.
bsondumpin a quiet mode that attempts to limit the amount of output.
This option suppresses:
- output from database commands
- replication activity
- connection accepted events
- connection closed events
Validates each BSON object before outputting it in JSON format. By default,
--objcheck. For objects with a high degree of sub-document nesting,
--objcheckcan have a small impact on performance.
Changed in version 2.4: MongoDB enables
--objcheckby default, to prevent any client from inserting malformed or invalid BSON into a MongoDB database.
Changes the operation of
bsondumpfrom outputting “JSON” (the default) to a debugging format.
New in version 3.0.0.
Outputs documents in a pretty-printed format JSON.
bsondump outputs data to standard output. To
create corresponding JSON files, you will need to use the
shell redirect. See the following command:
bsondump collection.bson > collection.json
Use the following command (at the system shell) to produce debugging output for a BSON file:
bsondump --type=debug collection.bson