Access to all courses
Updating Documents - Operators
In the previous lesson, we learned basic ways to update documents in Mongoose. In this lesson, we will learn about how we can use operators that can be used to update documents in Mongoose. Much like in when finding documents , we can use operators to update documents in Mongoose, too! ## Special types of Updates Operators are used to perform special types of updates on a document. In the previous lesson, you may have noticed that all of our updates were essentially overwriting values in the document. This is fine for simple updates, but what if we want to perform more complex updates?
The rest of this lesson is waiting.
Join JS Mastery Pro to unlock it.





Get Full Access
$149 /month
Lock in a year & save—2 months free!
Quizzes, mini-challenges, AI summaries, inline sandboxes
Participation in a private community
Build real production-grade apps
Mock interviews & project reviews
Weekly live sessions & member-only access