UpdateDefinitionBuilderTDocumentPullFilterTItem Method (ExpressionFuncTDocument, IEnumerableTItem, FilterDefinitionTItem) |
Creates a pull operator.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax public UpdateDefinition<TDocument> PullFilter<TItem>(
Expression<Func<TDocument, IEnumerable<TItem>>> field,
FilterDefinition<TItem> filter
)
Public Function PullFilter(Of TItem) (
field As Expression(Of Func(Of TDocument, IEnumerable(Of TItem))),
filter As FilterDefinition(Of TItem)
) As UpdateDefinition(Of TDocument)
member PullFilter :
field : Expression<Func<'TDocument, IEnumerable<'TItem>>> *
filter : FilterDefinition<'TItem> -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, IEnumerableTItem
The field. - filter
- Type: MongoDB.DriverFilterDefinitionTItem
The filter.
Type Parameters
- TItem
- The type of the item.
Return Value
Type:
UpdateDefinitionTDocumentA pull operator.
See Also