code | type | title |
---|---|---|
true |
page |
hgetall |
Returns all fields and values of a hash.
hgetall(key, [options]);
Arguments | Type | Description |
---|---|---|
key |
string |
Hash key |
options |
object |
Optional query arguments |
The options
arguments can contain the following option properties:
Property | Type (default) | Description |
---|---|---|
queuable |
boolean (true) |
If true, queues the request during downtime, until connected to Kuzzle again |
Resolves to an object representation of the hash.
<<< ./snippets/hgetall.js