Creates matching records if they do not exist, or updates them if they do.
Arguments
| Arguments | Description |
|---|---|
model
|
The model type to upsert, e.g. Person.self.
|
content
| The content to write to matching records. |
where
| A predicate selecting which records to upsert. |