Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1012 Bytes

File metadata and controls

40 lines (26 loc) · 1012 Bytes
code type title
true
page
hgetall

hgetall

Returns all fields and values of a hash.

[Redis documentation]

Arguments

hgetall(key, [options]);

Arguments Type Description
key
string
Hash key
options
object
Optional query arguments

options

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

Resolve

Resolves to an object representation of the hash.

Usage

<<< ./snippets/hgetall.js