FilterDefinitionBuilderTDocumentOr Method (IEnumerableFilterDefinitionTDocument) |
Creates an or filter.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax public FilterDefinition<TDocument> Or(
IEnumerable<FilterDefinition<TDocument>> filters
)
Public Function Or (
filters As IEnumerable(Of FilterDefinition(Of TDocument))
) As FilterDefinition(Of TDocument)
member Or :
filters : IEnumerable<FilterDefinition<'TDocument>> -> FilterDefinition<'TDocument>
Parameters
- filters
- Type: System.Collections.GenericIEnumerableFilterDefinitionTDocument
The filters.
Return Value
Type:
FilterDefinitionTDocumentAn or filter.
See Also