TransactionPipelines extension

Adds execute to Transaction. Importing package:cloud_firestore_dart/pipelines.dart makes it available.

Preview, Enterprise only: the Pipelines API is experimental, may change in any release and needs a Firestore Enterprise edition database.

on

Methods

execute(Pipeline pipeline, {PipelineIndexMode? indexMode, PipelineExplainOptions? explainOptions, Map<String, Object?>? rawOptions}) → Future<PipelineSnapshot>

Available on Transaction, provided by the TransactionPipelines extension

Executes pipeline on the server inside this transaction. Only in a read-only transaction (runTransaction(..., readOnly: true)): the pipeline reads the snapshot of the database that every read of the transaction sees.