Module base_batch (2.12.0)

Helpers for batch requests to the Google Cloud Firestore API.

Classes

BaseBatch

BaseBatch(client)

Accumulate write operations to be sent in a batch.

This has the same set of methods for write operations that xref_DocumentReference does, e.g. xref_create.

Parameter
NameDescription
client Client

The client that created this batch.

BaseWriteBatch

BaseWriteBatch(client)

Base class for a/sync implementations of the commit RPC. commit is useful for lower volumes or when the order of write operations is important.