Define variables and expressions in scope.
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.5.0 (4.2.5)
Syntax
Parameters
- exps
- Type: Aerospike.Client Exp
Examples
// Args Format: def1, def2, ..., exp // def: <see cref="M:Aerospike.Client.Exp.Def(System.String,Aerospike.Client.Exp)" /> // exp: Scoped expression // 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