Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

MongoDB Update Queries

Bogdan Stashchuk via YouTube

Overview

Dive into the world of MongoDB update queries in this comprehensive 1.5-hour tutorial. Learn to manipulate document data effectively using various update methods and operators. Start with an introduction to document updates, then progress through creating sample documents and understanding update method syntax. Master essential operators like $set, $unset, $rename, and $currentDate. Explore techniques for updating single and multiple documents, as well as replacing entire documents. Delve into array update operators including $push, $addToSet, $pop, $pull, and $pullAll. Gain proficiency in using positional operators for precise updates in nested documents and arrays. Conclude with a summary of the update module, equipping you with the skills to perform complex data modifications in MongoDB.

Syllabus

MongoDB Update Queries: 01 Introduction to the Document Updates.
MongoDB Update Queries: 02 Create sample Documents.
MongoDB Update Queries: 03 Update Methods Syntax.
MongoDB Update Queries: 04 $set.
MongoDB Update Queries: 05 $unset.
MongoDB Update Queries: 06 update one Document.
MongoDB Update Queries: 07 update multiple Documents.
MongoDB Update Queries: 08 updateOne.
MongoDB Update Queries: 09 updateMany.
MongoDB Update Queries: 10 replaceOne.
MongoDB Update Queries: 11 Combine multiple update Operators.
MongoDB Update Queries: 12 $rename.
MongoDB Update Queries: 13 $currentDate.
MongoDB Update Queries: 14 Array Update Operators.
MongoDB Update Queries: 15 $push.
MongoDB Update Queries: 16 $addToSet.
MongoDB Update Queries: 17 $pop.
MongoDB Update Queries: 18 $pull.
MongoDB Update Queries: 19 $pullAll.
MongoDB Update Queries: 20 Positional Operator $.
MongoDB Update Queries: 21 Positional Operator $ in Nested Documents.
MongoDB Update Queries: 22 Positional Operator $ with $elemMatch.
MongoDB Update Queries: 23 $inc.
MongoDB Update Queries: 24 Update Module Summary.

Taught by

Bogdan Stashchuk

Reviews

Start your review of MongoDB Update Queries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.