Function aerospike::operations::maps::increment_value
source · pub fn increment_value<'a>(
policy: &'a MapPolicy,
bin: &'a str,
key: &'a Value,
incr: &'a Value
) -> Operation<'a>
Expand description
Create map increment operation. Server increments values by incr
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.