FilterDefinitionBuilderTDocumentMod Method (FieldDefinitionTDocument, Int64, Int64) |
Creates a modulo filter.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntaxpublic 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