HVALS
Syntax
HVALS key
Module
hashCategories
hash read slowDescription
Returns all the values of the hash at key.
Examples
- Go (Embedded)
- CLI
Returns all the values of the hash at key:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
values, err := db.HVals("key")
Returns all the values of the hash at key:
> HVALS key