对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

bsondump 示例

本页显示 bsondump 的示例。

Run bsondump from the system command line, not the mongo shell.

By default, bsondump outputs data to standard output. To create corresponding JSON files, you can use the --outFile option:

bsondump --outFile=collection.json collection.bson

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

bsondump --type=debug collection.bson
给本页内容打分

在此页面上