Learn R Programming

rredis (version 1.7.0)

redisZAdd: redisZAdd

Description

Add an element to a Redis sorted set. Sorted sets order their elements by numeric weights.

Usage

redisZAdd(key, score, member)

Arguments

key
The set name.
score
The numeric score associated with the new element (member).
member
The new object to add to the set.

References

http://redis.io/commands