Go to console

A reference to a transaction. The Transaction object passed to a transaction's updateFunction provides the methods to read and write data within the transaction context. See Firestore.runTransaction().

Index

Constructors

Methods

Constructors

Private constructor

Methods

delete

  • delete(documentRef: DocumentReference): Transaction
  • Deletes the document referred to by the provided DocumentReference.

    Parameters

    Returns Transaction

    This Transaction instance. Used for chaining method calls.

get