UpsertModel
Tags
Table of Contents
Methods
- upsert() : mixed
- Upsert a document into the collection.
Methods
upsert()
Upsert a document into the collection.
public
upsert([array<string|int, mixed> $init = [] ]) : mixed
Parameters
- $init : array<string|int, mixed> = []