Upsert

"Upsert" in a Sentence (2 examples)

Each entity event is upserted into the key/value table, such that the most recently read event for a given key is represented.

The upsert option lets you specify whether the update should be an upsert—that is, it tells MongoDB to update the record if it exists, and create it if it doesn't.

Data sourced from Wiktionary, WordNet, CMU, and other open linguistic databases. Updated March 2026.