ExpAdd Method

Create "add" (+) operator that applies to a variable number of expressions. Return sum of all arguments. All arguments must resolve to the same type (integer or float). Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Add(
	params Exp[] exps
)

Parameters

exps  Exp
 

Return Value

Exp

Example

C#
// a + b + c == 10
Exp.EQ(
  Exp.Add(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")),
  Exp.Val(10));

See Also