ExpSub Method

Aerospike
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.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Exp Sub(
	params Exp[] exps
)

Parameters

exps
Type: Aerospike.ClientExp

Return Value

Type: Exp
Examples

// a - b - c > 10
Exp.GT(
  Exp.Sub(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")),
  Exp.Val(10));
See Also

Reference