upsert<T extends TModel> abstract method
dynamic
upsert<T extends TModel>(
- T instance, {
- Query? query,
- ModelRepository<
TModel> ? repository,
Insert or update a model instance
Implementation
// ignore: always_declare_return_types
upsert<T extends TModel>(T instance, {Query? query, ModelRepository<TModel>? repository});