performDocumentUpsert method

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

Implementation

@override
Future<void> performDocumentUpsert(DocumentUpsertRequest request) {
  DocumentDeleteRequest(
    document: request.document,
    mustExist: false,
    reach: request.reach,
  ).delegateTo(cache).catchError((_) {});
  return super.performDocumentUpsert(request);
}