Module base_batch

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.

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.