ExpAnd Method

Create "and" 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 And(
	params Exp[] exps
)

Parameters

exps  Exp
 

Return Value

Exp

Example

C#
// (a > 5 || a == 0) && b < 3
Exp.And(
  Exp.Or(
    Exp.GT(Exp.IntBin("a"), Exp.Val(5)),
    Exp.EQ(Exp.IntBin("a"), Exp.Val(0))),
  Exp.LT(Exp.IntBin("b"), Exp.Val(3)))

See Also