Beta
Executes a pipeline and returns a Promise that resolves to the pipeline snapshot.
const snapshot = await execute( firestore.pipeline().collection('books').where(gt(field('rating'), 4.5)).select('title', 'author', 'rating')); Copy
const snapshot = await execute( firestore.pipeline().collection('books').where(gt(field('rating'), 4.5)).select('title', 'author', 'rating'));
Executes a pipeline with options.
Executes a pipeline and returns a Promise that resolves to the pipeline snapshot.