FilterDefinitionBuilderTDocumentMod Method (FieldDefinitionTDocument, Int64, Int64) |
Creates a modulo filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax public FilterDefinition<TDocument> Mod(
FieldDefinition<TDocument> field,
long modulus,
long remainder
)
Public Function Mod (
field As FieldDefinition(Of TDocument),
modulus As Long,
remainder As Long
) As FilterDefinition(Of TDocument)
member Mod :
field : FieldDefinition<'TDocument> *
modulus : int64 *
remainder : int64 -> FilterDefinition<'TDocument>
Parameters
- field
- Type: MongoDB.DriverFieldDefinitionTDocument
The field. - modulus
- Type: SystemInt64
The modulus. - remainder
- Type: SystemInt64
The remainder.
Return Value
Type:
FilterDefinitionTDocumentA modulo filter.
See Also