delete method

Transaction delete(
  1. DocumentReference documentRef, [
  2. Precondition precondition
])

Deletes the document referred to by the provided DocumentReference.

@param documentRef A reference to the document to be deleted. @param precondition A Precondition to enforce for this delete. @return This Transaction instance. Used for chaining method calls.

Implementation

external Transaction delete(
  DocumentReference documentRef, [
  Precondition precondition,
]);