UpdateDefinitionBuilderTDocumentPullFilterTItem Method (FieldDefinitionTDocument, FilterDefinitionTItem) |
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>(
FieldDefinition<TDocument> field,
FilterDefinition<TItem> filter
)
Public Function PullFilter(Of TItem) (
field As FieldDefinition(Of TDocument),
filter As FilterDefinition(Of TItem)
) As UpdateDefinition(Of TDocument)
member PullFilter :
field : FieldDefinition<'TDocument> *
filter : FilterDefinition<'TItem> -> UpdateDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - filter
- Type: MongoDB.DriverFilterDefinitionTItem
The filter.
Type Parameters
- TItem
- The type of the item.
Return Value
Type:
UpdateDefinitionTDocumentA pull operator.
See Also