pub fn get_by_rank(
    return_type: ListReturnType,
    value_type: ExpType,
    rank: FilterExpression,
    bin: FilterExpression,
    ctx: &[CdtContext]
) -> FilterExpression
Expand description

Create expression that selects list item identified by rank and returns selected data specified by returnType.

// Player with lowest score.
use aerospike::operations::lists::ListReturnType;
use aerospike::expressions::{ExpType, int_val, list_bin};
use aerospike::expressions::lists::get_by_rank;
get_by_rank(ListReturnType::Values, ExpType::STRING, int_val(0), list_bin("a".to_string()), &[]);