ExpOr Method

Create "or" operator that applies to a variable number of expressions.

Definition

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

Parameters

exps  Exp
 

Return Value

Exp

Example

C#
// a == 0 || b == 0
Exp.Or(
  Exp.EQ(Exp.IntBin("a"), Exp.Val(0)),
  Exp.EQ(Exp.IntBin("b"), Exp.Val(0)));

See Also