PipelineStageDefinitionBuilderMatchTInput Method (ExpressionFuncTInput, Boolean) |
Creates a $match stage.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
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