ExpDef Method

Aerospike

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: Exp
Examples

// 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

Reference