client.execute_batch(operations)— executes a list ofBatchOperations in a single aliased GraphQL request. Handles chunking (default 250 ops), aliasing, and partial-failure propagation. Returns aBatchResult.store.save_batch(entities)— takes entity objects and builds the appropriate operations automatically, including any queued side-mutations.store.save_all()— flushes every dirty or new entity the store is currently tracking.
Classes
BatchOperation
Attributes
mutation_name
input_type_name
variables
return_fields
result
error
BatchResult
.result and .error populated.
Attributes:
Attributes
operations
raw_response
succeeded
failed
all_succeeded
Functions
build_batch_document
op0, op1, …) and a unique variable name ($input0, $input1, …).
Parameters:
Returns:
Example output for 2 operations