Note: You are currently viewing version 3.1 of the Node.js driver documentation.
Click here for the latest version.
- Reference
- ECMAScript Next
ECMAScript Next
ECMAScript Next (also know as ESNext, ES2015, ES6, and many other names) is the new future of the Javascript language. It introduces fundamental changes in JavaScript while maintaining backward compatibility with ECMAScript 5.
The MongoDB Node.js driver embraces modern JavaScript by optionally returning Promises from all async
methods.
This section exposes how to use the MongoDB Node.js driver with ESNext, leveraging all the productivity gains you get from the new Javascript.
Note
For more information about ECMAScript Next see the ECMAScript 6 features.
- Connecting: how to connect leveraging ESNext.
- CRUD: perform CRUD operations leveraging ESNext.
On this page