Docs HomeNode.js

MongoDB Node Driver

Introduction介绍

Welcome to the documentation site for the official MongoDB Node.js driver. 欢迎访问官方MongoDB Node.js驱动程序的文档网站。You can add the driver to your application to work with MongoDB in JavaScript or TypeScript. 您可以将驱动程序添加到应用程序中,以便在JavaScript或TypeScript中使用MongoDB。For more information about downloading and installing the Node.js driver, see Download and Install in the Quick Start guide.有关下载和安装Node.js驱动程序的更多信息,请参阅快速入门指南中的下载和安装

Quick Start快速入门

Learn how to establish a connection to MongoDB Atlas and begin working with data in the step-by-step Quick Start.了解如何建立与MongoDB Atlas的连接,并在循序渐进的快速入门中开始使用数据。

Quick Reference快速参考

See driver syntax examples for common MongoDB commands in the Quick Reference section.请参阅快速参考部分中常见MongoDB命令的驱动程序语法示例。

What's New新增功能

For a list of new features and changes in each version, see the What's New section.有关每个版本中的新功能和更改的列表,请参阅新增功能部分。

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驱动程序执行以下任务:

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驱动程序的常见问题解答,请参阅常见问题解答部分

Connection Troubleshooting连接故障排除

For solutions to issues you might encounter when using the driver to connect to a MongoDB deployment, see the Connection Troubleshooting section.有关使用驱动程序连接到MongoDB部署时可能遇到的问题的解决方案,请参阅连接疑难解答部分

Issues & Help

Learn how to report bugs, contribute to the driver, and to find help in the Issues & Help section.了解如何报告错误、为驱动程序提供帮助,以及在问题和帮助部分中查找帮助。

Compatibility兼容性

For the compatibility tables that show the recommended Node.js driver version for each MongoDB Server version, see the Compatibility section.有关显示每个MongoDB Server版本的推荐Node.js驱动程序版本的兼容性表,请参阅兼容性部分

Upgrade Driver Versions升级驱动程序版本

Learn what changes you may need to make to your application to upgrade driver versions in the Upgrade Driver Versions section.升级驱动程序版本部分了解您可能需要对应用程序进行哪些更改才能升级驱动程序。

Learn

Visit the Developer Hub and MongoDB University to learn more about the Node.js driver.访问开发者中心和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.要了解如何将MongoDB功能与Node.js驱动程序一起使用,请参阅how To’s and Articles页面

To ask questions and engage in discussions with fellow developers using the Node.js driver, see the Developer Community forums.要使用Node.js驱动程序与其他开发人员提问并进行讨论,请参阅开发人员社区论坛

MongoDB UniversityMongoDB大学

MongoDB University provides free courses to teach everyone how to use MongoDB.MongoDB大学提供免费课程,教大家如何使用MongoDB。

Take the free online course taught by MongoDB instructors参加MongoDB讲师教授的免费在线课程

Banner for the MongoDB University Node.js Course
Using MongoDB with Node.js
Learn the essentials of Node.js application development with MongoDB.学习使用MongoDB开发Node.js应用程序的要点。