Table of Contents

Method Densify

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Densify(FieldDefinition<TResult>, DensifyRange, IEnumerable<FieldDefinition<TResult>>)

Appends a $densify stage to the pipeline.

IAggregateFluent<TResult> Densify(FieldDefinition<TResult> field, DensifyRange range, IEnumerable<FieldDefinition<TResult>> partitionByFields = null)

Parameters

field FieldDefinition<TResult>

The field.

range DensifyRange

The range.

partitionByFields IEnumerable<FieldDefinition<TResult>>

The fields to partition by.

Returns

IAggregateFluent<TResult>

The fluent aggregate interface.

Densify(FieldDefinition<TResult>, DensifyRange, params FieldDefinition<TResult>[])

Appends a $densify stage to the pipeline.

IAggregateFluent<TResult> Densify(FieldDefinition<TResult> field, DensifyRange range, params FieldDefinition<TResult>[] partitionByFields)

Parameters

field FieldDefinition<TResult>

The field.

range DensifyRange

The range.

partitionByFields FieldDefinition<TResult>[]

The fields to partition by.

Returns

IAggregateFluent<TResult>

The fluent aggregate interface.