Table of Contents

Method ParallelScan

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

ParallelScan(ParallelScanArgs<TDefaultDocument>)

Scans an entire collection in parallel using multiple cursors.

[Obsolete("ParallelScan was deprecated in server version 4.1.")]
public virtual ReadOnlyCollection<IEnumerator<TDefaultDocument>> ParallelScan(ParallelScanArgs<TDefaultDocument> args)

Parameters

args ParallelScanArgs<TDefaultDocument>

The args.

Returns

ReadOnlyCollection<IEnumerator<TDefaultDocument>>

Multiple enumerators, one for each cursor.