hvals #
Returns all values contained in a hash.
hvals(key, [options], callback) #
Arguments | Type | Description |
---|---|---|
key | string | Key identifier |
options | JSON Object | Optional parameters |
callback | function | Callback |
Options #
Option | Type | Description | Default |
---|---|---|---|
queuable | boolean | Make this request queuable or not | true |
Callback Response #
Returns an array containing the values of a hash.
Usage #
kuzzle.memoryStorage.hvals("key", new ResponseListener<String[]>() {
@Override
public void onSuccess(String[] values) {
// callback called once the action has completed
}
@Override
public void onError(JSONObject error) {
}
});
Callback response:
["field1's value", "field2's value", "..."]
Edit this page on Github(opens new window)