Relational Migrator可以为连接到MongoDB 的应用程序自动生成JSON Schema 和示例文档文件。本页详细介绍了如何生成和下载单个JSON schema和示例文档文件。
步骤
您可以查看、下载或复制单个集合的JSON schema或示例文档文件。
导航至 JSON Schema 标签页。
选择 Template。
(可选)在Filter文本框中输入关键字以筛选 MongoDB collection。
单击 MongoDB collection 名称。
Click the Copy or Download buttons in the target code file to download or copy that file's contents.