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
From the course: MongoDB Node.js Developer Associate Cert Prep
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
-
-
-
-
-
-
-
-
-
(Locked)
Working with MongoDB documents in Node.js2m 50s
-
(Locked)
Inserting a document in Node.js applications3m 17s
-
Querying a MongoDB collection in Node.js applications3m 7s
-
(Locked)
Updating documents in Node.js applications3m 5s
-
(Locked)
Deleting documents in Node.js applications1m 56s
-
(Locked)
Creating MongoDB transactions in Node.js applications3m 25s
-
(Locked)
MongoDB CRUD operations in Node.js review1m 8s
-
(Locked)
-
-
-
-
-
-
-