Docs 菜单
Docs 主页
/ /
/ / /

bsondump 示例

本页显示 bsondump的示例。

从系统命令行运行 bsondump ,而不是 mongo shell 。

默认, bsondump将数据输出到标准输出。 要创建相应的JSON文件,可以使用--outFile选项:

bsondump --outFile=collection.json collection.bson

使用以下命令(在系统 shell 中)生成 BSON 文件的调试输出:

bsondump --type=debug collection.bson

后退

兼容性与安装

在此页面上