PipelineStageDefinitionBuilderDensifyTInput Method (ExpressionFuncTInput, Object, DensifyRange, ExpressionFuncTInput, Object) |
Creates a $densify stage.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public static PipelineStageDefinition<TInput, TInput> Densify<TInput>(
Expression<Func<TInput, Object>> field,
DensifyRange range,
params Expression<Func<TInput, Object>>[] partitionByFields
)
Public Shared Function Densify(Of TInput) (
field As Expression(Of Func(Of TInput, Object)),
range As DensifyRange,
ParamArray partitionByFields As Expression(Of Func(Of TInput, Object))()
) As PipelineStageDefinition(Of TInput, TInput)
static member Densify :
field : Expression<Func<'TInput, Object>> *
range : DensifyRange *
partitionByFields : Expression<Func<'TInput, Object>>[] -> PipelineStageDefinition<'TInput, 'TInput>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTInput, Object
The field. - range
- Type: MongoDB.DriverDensifyRange
The range. - partitionByFields
- Type: System.Linq.ExpressionsExpressionFuncTInput, Object
The partition by fields.
Type Parameters
- TInput
- The type of the input documents.
Return Value
Type:
PipelineStageDefinitionTInput,
TInputThe stage.
See Also