Create expression that returns true if only one of the expressions are true.
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 Exclusive( params Exp[] exps )
Parameters
- exps
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// exclusive(a == 0, b == 0) Exp.Exclusive( Exp.EQ(Exp.IntBin("a"), Exp.Val(0)), Exp.EQ(Exp.IntBin("b"), Exp.Val(0)));
See Also