ExpMod Method

Aerospike
Create "modulo" (%) operator that determines the remainder of "numerator" divided by "denominator". All arguments must resolve to integers. Requires server version 5.6.0+.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Exp Mod(
	Exp numerator,
	Exp denominator
)

Parameters

numerator
Type: Aerospike.ClientExp
denominator
Type: Aerospike.ClientExp

Return Value

Type: Exp
Examples

// a % 10 == 0
Exp.EQ(
  Exp.Mod(Exp.IntBin("a"), Exp.Val(10)),
  Exp.Val(0));
See Also

Reference