【发布时间】:2020-05-03 08:01:17
【问题描述】:
我在 Atlas 中有名为“test”的远程数据库,我想将集合名称 image_table 下载为 JSON 文件。
在mac终端中:
$ mongoexport –db test –collection image_table image.json 我得到了错误>
020-01-16T13:49:12.822+0100 解析命令行选项时出错:位置参数太多:[–db test –collection image_table image.json] 2020-01-16T13:49:12.822+0100 尝试“mongoexport --help”以获取更多信息
【问题讨论】:
-
您是否运行过 'mongoexport --help' 以获得更多信息。
标签: json mongodb mongodb-atlas mongodb-compass mongoexport