redis_hvals()

Read(177) Label: hash, key, all hash fields,

Description:

Get the values of all hash fields.

Syntax:

redis_hvals(con,tbl)

Note:

This external library function won’t return the table of hash field values if the key doesn’t exist.

Parameters:

con

Database connection string

tbl

Hash table name

Return value:

A table containing all hash key values.

Example:

 

A

 

1

=redis("192.168.18.131:6379","runqian")

 

2

= redis_hvals(A1,"website")

Related functions:

redis()