Module batch (2.7.2)

Stay organized with collections Save and categorize content based on your preferences.

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.