DBKV.update
You're seeing just the function
update
, go back to DBKV module for more information.
Specs
Updates the key
in table
with the given function.
If key
is present in table
then the existing value
is passed to fun
and its result is
used as the updated value of key
. If key
is not present in table
, default
is inserted as
the value of key
. The default value will not be passed through the update function.