Exp.Exclusive Method

Create expression that returns true if only one of the expressions are true. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public static Exp Exclusive(
	params Exp[] exps
)

Parameters

exps  Exp[]
 

Return Value

Exp

Example

C#
// 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