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+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp Add( params Exp[] exps )
Parameters
- exps
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// a + b + c == 10 Exp.EQ( Exp.Add(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")), Exp.Val(10));
See Also