ExpDef Method
Assign variable to a
Let(Exp)
expression that can be accessed later.
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp Def(
string name,
Exp value
)
- name String
-
- value Exp
-
Exp // 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))));