upsert<TModel extends ManagedModel> abstract method
Insert or update a model in all Providers
Optionally, the repository can be passed to the same provider method
with a named argument (repository: this
) to use in the Adapter
.
Implementation
upsert<TModel extends ManagedModel>(TModel model, {Query query});