upsert

English

Etymology

Blend of update + insert.

Verb

upsert (third-person singular simple present upserts, present participle upserting, simple past and past participle upserted)

  1. (databases, transitive) To insert rows into a database table if they do not already exist, or update them if they do.
    • 2020, Adam Bellemare, Building Event-Driven Microservices, O'Reilly, →ISBN, page 25:
      Each entity event is upserted into the key/value table, such that the most recently read event for a given key is represented.

Noun

upsert (plural upserts)

  1. (databases) An operation that inserts rows into a database table if they do not already exist, or updates them if they do.
    Synonym: (SQL standard) merge
    • 2013, David Hows, Eelco Plugge, Peter Membrey, Tim Hawkins, The Definitive Guide to MongoDB, Apress, →ISBN, page 66:
      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.

Anagrams

This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.