/man/redisSMembers.Rd

http://github.com/bwlewis/rredis · Unknown · 33 lines · 33 code · 0 blank · 0 comment · 0 complexity · dde014985a24b8c1fd9e92ae47df4a58 MD5 · raw file

  1. \name{redisSMembers}
  2. \alias{redisSMembers}
  3. \title{List elements of a set.}
  4. \description{Return a list containing all the members (elements)
  5. of the specified set.
  6. }
  7. \usage{
  8. redisSMembers(set, ...)
  9. }
  10. \arguments{
  11. \item{set}{The set key name (character).}
  12. \item{...}{ Optional additional arguments. Specify \code{raw=TRUE} to skip de-serialization of the data.}
  13. }
  14. \value{
  15. A list containing the set elements. An error is thrown if the set does
  16. not exist.
  17. }
  18. \references{
  19. http://redis.io/commands
  20. }
  21. \author{
  22. B. W. Lewis
  23. }
  24. \seealso{
  25. \code{\link{redisSAdd}}
  26. }
  27. \examples{
  28. \dontrun{
  29. redisConnect()
  30. redisSAdd('set',runif(5))
  31. redisSMembers('set')
  32. }
  33. }