ENUM

MultiMatchEnum

What a bulkUpdate upsert does when more than one existing record matches the matching key.

link GraphQL Schema definition

  • enum MultiMatchEnum {
  • # Updates only the oldest matching record, by creation time.
  • UpdateOldest
  • # Updates only the newest matching record, by creation time.
  • UpdateNewest
  • # Updates every matching record; the request fails when more than 100 records
  • # match.
  • UpdateAll
  • # Fails the item when more than one record matches; a single match is updated.
  • RaiseError
  • # Returns the matching records without changing them; no record is created when
  • # nothing matches.
  • OnlyReturn
  • # Returns the matching records without changing them; a new record is created when
  • # nothing matches.
  • SkipUpdate
  • # Updates only the newest matching record and ignores input fields with null,
  • # empty or zero values.
  • UpdateNewestIgnoreEmpty
  • }