hvals

// Using callbacks (NodeJS or Web Browser)
kuzzle.memoryStorage.hvals('key', function (err, values) {
  // callback called once the action has completed
});

// Using promises (NodeJS only)
kuzzle.memoryStorage.hvalsPromise('key')
  .then(values => {
    // resolved once the action has completed
  });
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) {
  }
});
<?php

use \Kuzzle\Kuzzle;


$kuzzle = new Kuzzle('localhost');

try {
  $values = $kuzzle->memoryStorage()->hvals('key');
}
catch (ErrorException $e) {

}

Callback response:

[
  "field1's value",
  "field2's value",
  "..."
]

Returns all values contained in a hash.

[Redis documentation]


hvals(key, [options], callback)

ArgumentsTypeDescription
keystringKey identifier
optionsJSON ObjectOptional parameters
callbackfunctionCallback

Options

OptionTypeDescriptionDefault
queuablebooleanMark this request as (not) queuabletrue

Callback response

Resolves to an array containing the values of a hash.