Skip to main content

HGETALL

Syntax

HGETALL key

Module

hash

Categories

hash read slow

Description

Get all fields and values of a hash.

Examples

Get all fields and values of a hash:

vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
result, err := vault.HGetAll("key")