ExpVar Method

Retrieve expression value from a variable. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Var(
	string name
)

Parameters

name  String
 

Return Value

Exp

Example

C#
// 5 < a < 10
Exp.Let(
  Exp.Def("x", Exp.IntBin("a")),
  Exp.And(
    Exp.LT(Exp.Val(5), Exp.Var("x")),
    Exp.LT(Exp.Var("x"), Exp.Val(10))));

See Also