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

CodeSignal

A Closer Look at Update Operations in MongoDB

via CodeSignal

Overview

Explore advanced update operations in MongoDB, including updating multiple fields, using array selectors, and managing document structure with upsert and other modifiers.

Syllabus

  • Lesson 1: A Closer Look at Update Operations in MongoDB
    • Updating and Managing Comic Books
    • Updating Multiple Fields in Comic Book Records
    • Fix the Comic Book Script
    • Correct the Publisher Fields Update
    • Celebrate Stan Lee's Birthday
  • Lesson 2: Arithmetic Updates in MongoDB
    • Updating Comic Book Inventory
    • Updating Comic Book Inventory
    • Decrement Comic Book Stock Quantities
    • Tripling Comic Book Stock for Flash Sale
  • Lesson 3: Using $min and $max in MongoDB Update Operations
    • Updating Ratings with Max and Min
    • Correcting the Highest Rating Update
    • Conditional Stock Quantity Update
  • Lesson 4: Deleting and Renaming Fields in MongoDB
    • Remove Unnecessary Customer Rating Fields
    • Citizens of the World
    • Removing Redundant Fields from All Documents
    • Shorten Customer Rating Field Names
    • Renaming Fields in MongoDB
    • Final Exam on Field Renaming
  • Lesson 5: Replacing and Upserting Documents in MongoDB
    • Replacing an X-Men Comic with Deadpool
    • Replace Captain Marvel with Deadpool
    • Exploring Upsert in MongoDB
    • Upserting Wolverine to Comic Book Catalogue
  • Lesson 6: Updating Array Elements in MongoDB
    • Updating Comic Book Arrays
    • Add Origin City to Spider-Man Characters
    • Updating Array Elements by Index
    • Finding and Tagging a Shapeshifter
    • Setting Superpowers Field for Comic Book Characters
  • Lesson 7: Adding and Removing Elements from Arrays
    • Updating Comic Book Arrays
    • Adding Single Elements
    • Adding Multiple Elements to Arrays
    • Sorting Array Elements
    • Deleting Array Elements

Reviews

Start your review of A Closer Look at Update Operations in MongoDB

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.