Stateful
Set a value for the given key
Kind: instance method of KeyValueStore
Returns: Boolean
- true if successful
Param | Type | Description |
key |
| the key |
value |
| the value |
Set a value for the given key
Kind: instance method of KeyValueStore
Returns: Boolean
- true if successful
Param | Type | Description |
key |
| the key |
value |
| the value |
Set multiple values for multiple keys
Kind: instance method of KeyValueStore
Returns: Boolean
- true if successful, throw error if not
Param | Type | Description |
keys |
| the keys |
values |
| the values |
Set multiple values for multiple keys
Kind: instance method of KeyValueStore
Returns: Boolean
- true if successful, throw error if not
Param | Type | Description |
keys |
| the keys |
values |
| the values |
Given current limitations with Orbit DB, concurrent sets
, for example in a map
function, are not possible and so must be completed in series or by using the setMultiple
method