ExpSub Method
Create "subtract" (-) operator that applies to a variable number of expressions.
If only one argument is provided, return the negation of that argument.
Otherwise, return the sum of the 2nd to Nth argument subtracted from the 1st
argument. All arguments must resolve to the same type (integer or float).
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp Sub(
params Exp[] exps
)
- exps Exp
-
Exp // a - b - c > 10
Exp.GT(
Exp.Sub(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")),
Exp.Val(10));