Exp.Not Method

Create "not" operator expression.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public static Exp Not(
	Exp exp
)

Parameters

exp  Exp
 

Return Value

Exp

Example

C#
// ! (a == 0 || a == 10)
Exp.Not(
  Exp.Or(
    Exp.EQ(Exp.IntBin("a"), Exp.Val(0)),
    Exp.EQ(Exp.IntBin("a"), Exp.Val(10))))

See Also