Atomically associates the given key with the first part of the result of applying the given function to the value currently associated with the key, returning the second part of the result.
Associate update
with the given key if the current value at the key
is expect
, passing None
for expect
indicates that they key is
expected not to be associated with a value.
Associate update
with the given key if the current value at the key
is expect
, passing None
for expect
indicates that they key is
expected not to be associated with a value.
whether the value was updated.
Returns whether a value is associated with the given key.
Remove any associated with the given key.
Returns the current value associated with the given key.
Returns current keys
Atomically updates the value associated with the given key with the result of applying the given function to the current value, if defined.
Moves/renames key
Associate the given value with the given key.