Assign variable to a Let(Exp)
expression that can be accessed later.
Requires server version 5.6.0+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp Def( string name, Exp value )
Parameters
- name
- Type: SystemString
- value
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// 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