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