Table of Contents

Method Mod

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

Mod(string, long, long)

Tests that the modulus of the value of the named element matches some value (see $mod).

public static IMongoQuery Mod(string name, long modulus, long value)

Parameters

name string

The name of the element to test.

modulus long

The modulus.

value long

The value.

Returns

IMongoQuery

An IMongoQuery.