# More Update Operators: $inc, $push, $pull and $addToSet

$inc lets the database do the counting so no count is lost, $currentDate stamps when a change happened, $push and $pull add to and remove from a list, and $addToSet adds an item only when it isn't there yet.

![Cheat sheet: More Update Operators: $inc, $push, $pull and $addToSet](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/c3cbafc3364446c9926ab0a722bb427d.webp)

- Category: MongoDB
- Level: Apprentice
- Tags: $addToSet, $inc, $push and $pull, Array Field, Lost Update, mongodb
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/mongodb-update-operators-cheat-sheet
