performDocumentUpsert method

  1. @override
Future<void> performDocumentUpsert(
  1. DocumentUpsertRequest request
)
override

Implementation

@override
Future<void> performDocumentUpsert(DocumentUpsertRequest request) async {
  await _wait();
  const ArbitraryTreeSchema().checkTreeIsValid(request.data);
  final key = _keyFromDocument(request.document);
  _values[key] = _Value(request.data);
}