Function aerospike::operations::maps::remove_by_key_relative_index_range
source · pub fn remove_by_key_relative_index_range<'a>(
bin: &'a str,
key: &'a Value,
index: i64,
return_type: MapReturnType
) -> Operation<'a>
Expand description
Creates a map remove by key relative to index range operation. Server removes map items nearest to key and greater by index. Server returns removed data specified by returnType.
Examples for map [{0=17},{4=2},{5=15},{9=10}]:
(key,index) = [removed items] (5,0) = [{5=15},{9=10}] (5,1) = [{9=10}] (5,-1) = [{4=2},{5=15},{9=10}] (3,2) = [{9=10}] (3,-2) = [{0=17},{4=2},{5=15},{9=10}]