MongoDB 集合与文档浏览器
在 SqlOtter 中浏览 MongoDB 集合并查看文档字段。集合操作遵循 MongoDB 的文档模型。
如何查看 MongoDB 集合
- 打开 MongoDB 连接,选择目标数据库和集合。
- 查看字段结构和已加载的文档。编辑文档或准备迁移前,先核对支持的操作。
能力参考列出了哪些操作?
下表汇总桌面端源码中的能力声明。使用具体功能前,请核对构建、服务端、驱动和权限。
| 操作 | 状态 | 源码说明 |
|---|---|---|
| 连接 | 有声明 | |
| 数据库列表 | 有声明 | |
| Schema 列表 | 不适用 | |
| 浏览对象 | 有声明 | |
| 创建数据库 / 命名空间 | 部分支持 | |
| 删除数据库 / 清空键空间 | 不可用 | Database drop is not supported for document databases. |
| 复制数据库 | 部分支持 | |
| 浏览数据 | 有声明 | |
| 编辑数据 | 有声明 | |
| 查看结构 | 部分支持 | |
| 编辑结构 | 部分支持 | |
| 数据表选项 | 不适用 | |
| 集合校验与选项 | 部分支持 | |
| 键空间扫描 | 不适用 | |
| 索引 | 有声明 | |
| 外键 | 不适用 | |
| 触发器 | 不适用 | |
| 存储过程与函数 | 不可用 | |
| ER 关系图 | 部分支持 | |
| SQL / 命令执行 | 有声明 | |
| 本地 SQL 校验 | 部分支持 | |
| 估算查询计划 | 不可用 | |
| 实际执行分析 | 不可用 | |
| 脚本事务 | 不可用 | |
| 脚本事务中的 DDL | 不可用 | |
| 在线迁移(MO)· 来源 | 部分支持 | |
| 在线迁移(MO)· 目标 | 有声明 | |
| 归档备份 | 有声明 | |
| 原生归档恢复 | 有声明 | |
| 便携归档 · 来源 | 部分支持 | |
| 便携归档 · 目标 | 有声明 | |
| 导入与导出 | 部分支持 | |
| 复制表 / 数据库汇总 | 不可用 | |
| 备份 / 恢复汇总 | 部分支持 | |
| 导出视图定义 | 未验证 | |
| 导出例程 | 未验证 | |
| 导出序列 | 未验证 | |
| 导出事件 | 未验证 | |
| 会话 | 不可用 | |
| 服务器变量 | 不可用 | |
| 用户账户 | 部分支持 | |
| 优化数据库 | 不可用 | Optimize database operation is not applicable to MongoDB. MongoDB uses dynamic schema and does not require traditional database optimization. |
| 修复 / 完整性检查 | 不可用 | Repair database operation is not applicable to MongoDB. MongoDB does not support traditional table repair operations. |
| 数据库健康 | 不可用 | Database health analysis is not supported for MongoDB. |
| AI 上下文 | 部分支持 | |
| 声明的测试覆盖 | 有声明 |
归档与迁移配置
Declared CDA sources use snapshot sessions on replica sets/mongos, or independent collection cursors with warnings on standalone servers
- New legacy archives stream bounded insertMany statements encoded as canonical Extended JSON; old insertOne archives remain readable.
- Legacy archives created before canonical Extended JSON may have stringified BSON-specific values and cannot recover their original types.
- Collection validators, indexes, capped/time-series settings, and other collection options are not comprehensively exported.
- Portable target restore creates collection validators and indexes and stores identity/relationship bindings; foreign keys are metadata-only.
- CDA portable sources require declared JSON Schema and verified FDoCDA collection metadata; arbitrary undeclared documents require a native archive.
- Declared sources reject unsupported BSON identities/storage and TTL indexes; other native options/indexes remain source metadata with warnings.
- BSON null merges SQL NULL and JSON null, BSON Date stores milliseconds and Decimal128 has bounded precision.