Module batch (2.7.0)

Helpers for batch requests to the Google Cloud Firestore API.

Classes

WriteBatch

WriteBatch(client)

Accumulate write operations to be sent in a batch. Use this over BulkWriteBatch for lower volumes or when the order of operations within a given batch is important.

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.