Table of Contents

Method ToCollectionAsync

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ToCollectionAsync(CancellationToken)

Executes an aggregation pipeline that writes the results to a collection.

Task ToCollectionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.