Table of Contents

Method Sample

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Sample(long)

Appends a sample stage to the pipeline.

IAggregateFluent<TResult> Sample(long size)

Parameters

size long

The sample size.

Returns

IAggregateFluent<TResult>

The fluent aggregate interface.