PipelineStageDefinitionBuilderMatchTInput Method (ExpressionFuncTInput, Boolean) |
Creates a $match stage.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public static PipelineStageDefinition<TInput, TInput> Match<TInput>(
Expression<Func<TInput, bool>> filter
)
Public Shared Function Match(Of TInput) (
filter As Expression(Of Func(Of TInput, Boolean))
) As PipelineStageDefinition(Of TInput, TInput)
static member Match :
filter : Expression<Func<'TInput, bool>> -> PipelineStageDefinition<'TInput, 'TInput>
Parameters
- filter
- Type: System.Linq.ExpressionsExpressionFuncTInput, Boolean
The filter.
Type Parameters
- TInput
- The type of the input documents.
Return Value
Type:
PipelineStageDefinitionTInput,
TInputThe stage.
See Also