Create expression that selects list items identified by value and returns selected
data specified by returnType.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp GetByValue( ListReturnType returnType, Exp value, Exp bin, params CTX[] ctx )
Parameters
- returnType
- Type: Aerospike.ClientListReturnType
metadata attributes to return. See ListReturnType - value
- Type: Aerospike.ClientExp
search expression - bin
- Type: Aerospike.ClientExp
list bin or list value expression - ctx
- Type: Aerospike.ClientCTX
optional context path for nested CDT
Return Value
Type: ExpExamples
// List bin "a" contains at least one item == "abc" Exp.GT( ListExp.GetByValue(ListReturnType.COUNT, Exp.Val("abc"), Exp.ListBin("a")), Exp.Val(0))
See Also