From the course: MongoDB Node.js Developer Associate Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

MongoDB CRUD operations in Node.js review

MongoDB CRUD operations in Node.js review

- In this unit, you learned how BSON documents are represented in Node.js. You also learned how to perform basic CRUD operations in Node.js, and create a multi-document transaction. When we build a Node.js application that connects to MongoDB, we want you to be able to interact with the data in your application. We also want you to leverage the data and make sure your operations are asset compliant. In this unit, we started by discussing how BSON documents are represented in Node.js by using the document class. Then we moved on to basic CRUD operations in Node.js. We learned how to insert documents by using insertOne and insertMany, query documents by using find and findOne, update documents by using updateOne and updateMany, and delete documents by using deleteOne and deleteMany. Finally, you learned how to create a multi-document transaction. Now that you can perform CRUD operations with your Node.js application,…

Contents