MongoDB Node Driver¶
Introduction介绍¶
Welcome to the official MongoDB Node.js driver documentation.欢迎使用官方的MongoDB Node.js驱动程序文档。
Connect your Node.js applications to MongoDB and work with your data using the Node.js driver. 将Node.js应用程序连接到MongoDB,并使用Node.js驱动程序处理数据。The driver features an asynchronous API that you can use to access method return values through Promises or specify callbacks to access them when communicating with MongoDB.该驱动程序具有一个异步API,您可以使用该API通过承诺访问方法返回值,或者在与MongoDB通信时指定回调来访问这些值。
On this page, you can find descriptions of each section of the driver documentation.在本页上,您可以找到驱动程序文档各部分的说明。
Quick Start快速启动¶
Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.了解如何建立与MongoDB Atlas的连接,并开始使用快速入门部分中的数据。
Usage Examples用法示例¶
For fully runnable code snippets and explanations for common methods, see the Usage Examples section.有关完全可运行的代码段和常见方法的解释,请参阅用法示例部分。
Fundamentals基本原理¶
Learn how to perform the following tasks using the Node.js driver in the Fundamentals section:了解如何使用“基础知识”部分中的Node.js驱动程序执行以下任务:
Connect to MongoDB连接到MongoDBAuthenticate with MongoDB通过MongoDB进行身份验证Read from and Write to MongoDB读写MongoDBAccess Return Values访问返回值Transform your Data转换数据Create Indexes to Speed Up Queries创建索引以加快查询速度Sort Using Collations使用排序规则进行排序Log Events in the Driver在驱动程序中记录事件Monitor Driver Events监视驱动程序事件Store and Retrieve Large Files in MongoDB在MongoDB中存储和检索大型文件
API¶
For detailed information about classes and methods in the MongoDB Node.js driver, see the MongoDB Node.js driver API documentation .有关MongoDB Node.js驱动程序中的类和方法的详细信息,请参阅MongoDB Node.js驱动程序API文档。
FAQ常见问题¶
For answers to commonly asked questions about the MongoDB Node.js Driver, see the Frequently Asked Questions (FAQ) section.有关MongoDB Node.js驱动程序的常见问题解答,请参阅常见问题(FAQ)部分。
Issues & Help问题及帮助¶
Learn how to report bugs, contribute to the driver, and find additional resources for asking questions and receiving help in the Issues & Help section.了解如何报告错误,为驱动程序做出贡献,并找到其他资源,以便在问题及帮助部分中提出问题并获得帮助。
Compatibility兼容性¶
For the compatibility charts that show the recommended Node.js Driver version for each MongoDB Server version, see the Compatibility section.有关显示每个MongoDB服务器版本的推荐Node.js驱动程序版本的兼容性图表,请参阅兼容性部分。
What's New新增功能¶
For a list of new features and changes in each version, see the What's New section.有关每个版本中新功能和更改的列表,请参阅新增功能部分。
Learn学习¶
Visit the Developer Hub and MongoDB University to learn more about the MongoDB Node.js driver.访问开发者中心和MongoDB大学,了解更多关于MongoDB Node.js驱动程序的信息。
Developer Hub开发者中心¶
The Developer Hub provides tutorials and social engagement for developers.开发者中心为开发者提供教程和社交活动。
To learn how to use MongoDB features with the Node.js driver, see the How To's and Articles page.要了解如何在Node.js驱动程序中使用MongoDB功能,请参阅使用方法和文章页。
To ask questions and engage in discussions with fellow developers using the Node.js driver, see the forums page.要使用Node.js驱动程序提问并与其他开发人员进行讨论,请参阅论坛页面。
MongoDB University大学¶
MongoDB University provides free courses to teach everyone how to use MongoDB.MongoDB大学提供免费课程,教大家如何使用MongoDB。
Take the free online course taught by MongoDB instructors参加MongoDB讲师教授的免费在线课程¶
![]() |
|