OptionalincludeOptionalignoreOptionalisOptionallimitOptionalsideOptionalomitOptionalindividualOptionalbenchmarkOptionalloggingOptionalusingConnection name to use for this query Allows querying a different database connection
OptionalconflictFields to use for conflict resolution (ON CONFLICT for PostgreSQL/SQLite, ON DUPLICATE KEY for MySQL)
OptionalupdateFields to update on conflict. If not specified, all fields will be updated
OptionalreturningWhether to return the record after upsert
OptionalrawUse raw values instead of instances
OptionalfieldsFields to include in the returned record
OptionalhooksHooks configuration
OptionalvalidateValidate before upsert
OptionaltransactionTransaction to use
OptionalwhereWhere clause for upsert (optional, can use primary key in values instead)
OptionalparanoidWhether to use paranoid mode when fetching the instance after upsert
Options for an insert-or-update, including which columns decide whether a row already exists.