UpdateManyModel constructor

UpdateManyModel({
  1. BoolValue? upsert,
  2. List<int>? filter,
  3. List<int>? update,
  4. List<int>? hint,
})

Implementation

factory UpdateManyModel({
  $9.BoolValue? upsert,
  $core.List<$core.int>? filter,
  $core.List<$core.int>? update,
  $core.List<$core.int>? hint,
}) {
  final _result = create();
  if (upsert != null) {
    _result.upsert = upsert;
  }
  if (filter != null) {
    _result.filter = filter;
  }
  if (update != null) {
    _result.update = update;
  }
  if (hint != null) {
    _result.hint = hint;
  }
  return _result;
}