Reschema for MongoDB为MongoDB重置架构
Save time with the MongoDB migration tool in Studio 3T. 使用Studio 3T中的MongoDB迁移工具节省时间。Move an existing collection to a new schema in a few clicks.只需单击几下,即可将现有集合移动到新架构。
Try for free
Curate your source collection整理你的原始资料
Start with the data you need从你需要的数据开始

Choose an existing collection to update选择要更新的现有集合
Connect to a MongoDB server and select your source collection.连接到MongoDB服务器并选择源集合。
Merge data from different collections合并来自不同集合的数据
Need more fields? Skip the $lookup and merge data from other collections.需要更多的字段吗?跳过$lookup
并合并其他集合中的数据。
Transform your MongoDB collection schema转换MongoDB集合模式
Undo, redo, and preview changes as you go撤消、重做和预览更改
Fields字段
Add, delete, and rename fields添加、删除和重命名字段
Make straightforward changes to your collection and preview updates as you go.对集合进行简单的更改,并随时预览更新。
Reorder and embed fields重新排序和嵌入字段
Order your fields exactly as you need. Move them up or down the list, move fields to a parent field, or embed fields within fields.按你需要的顺序排列你的字段。在列表中上移或下移,将字段移动到父字段,或在字段中嵌入字段。
►https://player.vimeo.com/video/681898086

Objects and arrays对象和数组
Unwind selected arrays and objects解开选定的数组和对象
Unwind an array or object and save elements in a different MongoDB collection that’s linked through a foreign key.解开数组或对象,并将元素保存在通过外键链接的其他MongoDB集合中。
Flatten objects and arrays展平对象和阵列
Get your fields on the same parent level, then move and embed them as needed..在同一父级上获取字段,然后根据需要移动和嵌入它们。
Target collections目标集合
Extract fields to a different target collection将字段提取到其他目标集合
Extract a field to a different target collection with a right-click and a quick configuration.通过右键单击和快速配置,将字段提取到不同的目标集合。
Choose multiple target collections from the get-go从“开始”菜单中选择多个目标集合
Add multiple target collections from the start and separate fields as needed.根据需要从开始和单独的字段添加多个目标集合。

Why use Reschema?为什么要使用重置架构?
With a powerful MongoDB migration tool, a schema makeover is only a few clicks away使用强大的MongoDB迁移工具,只需点击几下就可以完成模式改造
Clean up SQL migrations清理SQL迁移
Just migrated data from SQL to MongoDB? 刚刚将数据从SQL迁移到MongoDB?Restructure your newly imported tables and columns as MongoDB documents that make the most sense.将新导入的表和列重组为最有意义的MongoDB文档。
Merge multiple sources easily轻松合并多个源
Reschema lets you merge data from multiple collections into one source collection, so you can start with the data you need without having to write a single $lookup.Reschema允许您将多个集合中的数据合并到一个源集合中,这样您就可以从需要的数据开始,而无需编写单个$lookup
。
Update schema – minus the migration scripts更新模式-减去迁移脚本
MongoDB is great for ad-hoc schema changes, but these could get unruly over time. MongoDB非常适合临时模式更改,但随着时间的推移,这些更改可能会变得难以控制。With Reschema, you can easily restructure collections to reflect changes in your data. 使用Reschema,您可以轻松地重组集合,以反映数据中的更改。Like pressing a handy reset button.比如按下一个方便的重置按钮。
Improve performance by skipping unnecessary schema or document versions通过跳过不必要的架构或文档版本来提高性能
MongoDB lets you keep multiple versions of your schema or document, but this means duplicating indexes. MongoDB允许您保留模式或文档的多个版本,但这意味着要复制索引。Keep collections light and simple with a schema cleanup instead.相反,通过模式清理来保持集合的轻巧和简单。