Exp Let Method Aerospike
Define variables and expressions in scope. Requires server version 5.6.0+.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.6.0 (4.2.6)
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