new NameValueStoreLarge( [params])
Parameters:
| Name | Type | Argument | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
object |
<optional> |
Properties
|
- Since:
-
10.5.0
Methods
-
<static> NameValueStoreLarge#get(field, cb)
-
Retrieves a value from the store.
Parameters:
Name Type Description fieldstring The key to retrieve.
cbCIQ.NameValueStore~getCallback Called with
(null, value)on success or(err)on failure. Returnsnullfor missing keys.- Since:
-
10.5.0
-
<static> NameValueStoreLarge#remove(field [, cb])
-
Removes a field from the store.
Parameters:
Name Type Argument Description fieldstring The key to remove.
cbCIQ.NameValueStore~updateCallback <optional>
Called with
(null)on success or(err)on failure.- Since:
-
10.5.0
-
<static> NameValueStoreLarge#set(field, value [, cb])
-
Stores a value in the store.
Parameters:
Name Type Argument Description fieldstring The key under which the value is stored.
valuestring | object The value to store.
cbCIQ.NameValueStore~updateCallback <optional>
Called with
(null)on success or(err)on failure.- Since:
-
10.5.0
