Function aerospike::operations::maps::decrement_value
source · pub fn decrement_value<'a>(
policy: &'a MapPolicy,
bin: &'a str,
key: &'a Value,
decr: &'a Value
) -> Operation<'a>
Expand description
Create map decrement operation. Server decrements values by decr
for all items identified
by the key and returns the final result. Valid only for numbers.
The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map.