PipelineStageDefinitionBuilderDensifyTInput Method (ExpressionFuncTInput, Object, DensifyRange, IEnumerableExpressionFuncTInput, 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,
IEnumerable<Expression<Func<TInput, Object>>> partitionByFields = null
)
Public Shared Function Densify(Of TInput) (
field As Expression(Of Func(Of TInput, Object)),
range As DensifyRange,
Optional partitionByFields As IEnumerable(Of Expression(Of Func(Of TInput, Object))) = Nothing
) As PipelineStageDefinition(Of TInput, TInput)
static member Densify :
field : Expression<Func<'TInput, Object>> *
range : DensifyRange *
?partitionByFields : IEnumerable<Expression<Func<'TInput, Object>>>
(* Defaults:
let _partitionByFields = defaultArg partitionByFields null
*)
-> PipelineStageDefinition<'TInput, 'TInput>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTInput, Object
The field. - range
- Type: MongoDB.DriverDensifyRange
The range. - partitionByFields (Optional)
- Type: System.Collections.GenericIEnumerableExpressionFuncTInput, Object
The partition by fields.
Type Parameters
- TInput
- The type of the input documents.
Return Value
Type:
PipelineStageDefinitionTInput,
TInputThe stage.
See Also