Skip to main content

HVALS

Syntax

HVALS key

Module

hash

Categories

hash read slow

Description

Returns all the values of the hash at key.

Examples

Returns all the values of the hash at key:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
values, err := db.HVals("key")