redis_smembers()

Read(235) Label: set, all members,

Description:

Get all members of a set.

Syntax:

redis_smembers(con,key)

Note:

External lirary function. A nonexistent key is treated as an empty set.

Parameters:

con

Database connection string

key

Set name

Return value:

All members of the set.

Example:

 

A

 

1

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

 

2

=redis_smembers(A1,"language")