Docs Home / VS Code Extension

MongoDB Extension for Github CopilotGithub Copilot的MongoDB扩展

MongoDB for VS Code Extension includes the MongoDB Extension for Github Copilot to assist in using GitHub Copilot with your MongoDB deployments. MongoDB for VS Code扩展包括用于Github Copilot的MongoDB扩展,以帮助您在MongoDB部署中使用Github Copilot。Through GitHub Copilot's chat feature, users with VS Code Extension can learn about MongoDB, interact with their MongoDB clusters, and generate code with MongoDB domain-specific knowledge on top of GitHub Copilot's LLM. 通过GitHub Copilot的聊天功能,使用VS Code Extension的用户可以了解MongoDB,与他们的MongoDB集群交互,并在GitHub Copilot's LLM的基础上生成具有MongoDB领域特定知识的代码。The MongoDB Extension for Github Copilot can also answer questions about your database collection schema and provide links to specific MongoDB documentation.Github Copilot的MongoDB扩展还可以回答有关数据库集合模式的问题,并提供指向特定MongoDB文档的链接。

The MongoDB Extension for Github Copilot includes MongoDB-specific commands to assist in interacting with your deployment.Github Copilot的MongoDB扩展包括MongoDB特定的命令,以帮助与部署进行交互。

Commands命令

/query

The /query command assists in generating queries from a natural language against a connected MongoDB cluster./query命令有助于从自然语言生成针对连接的MongoDB集群的查询。

/schema

The schema command provides schema information about collections in your connected deployment./schema命令提供有关连接部署中集合的架构信息。

/docs

The /docs command provides links to MongoDB documentation to supplement generated information./docs命令提供指向MongoDB文档的链接,以补充生成的信息。