Skip to main content

increment

Function increment 

Source
pub fn increment(bucket: &str, key: &str, delta: i64) -> Result<i64, KvError>
Expand description

Increment a numeric value atomically.

Returns the new value after increment.

ยงErrors

Returns KvError if the operation fails.