Function aerospike::operations::lists::trim
source · pub fn trim(bin: &str, index: i64, count: i64) -> Operation<'_>
Expand description
Create list trim operation. Server removes count
items in the list bin that do not fall
into the range specified by index
and count
. If the range is out of bounds, then all
items will be removed. Server returns list size after trim.