vibe-d v0.9.8-alpha.3 (2023-10-20T08:14:46Z)
Home
Dub
Repo
RedisDatabase.srandMember
index
vibe
db
redis
redis
RedisDatabase
returns count random elements from the set stored at key
T
srandMember
(string key)
RedisReply
!
T
srandMember
(string key, long count)
struct
RedisDatabase
RedisReply
!
T
srandMember
(
T
=
string
)
(
string
key
,
long
count
)
if
(
isValidRedisValueReturn
!
T
)
Meta
Source
See Implementation
index
vibe
db
redis
redis
RedisDatabase
functions
append
blpop
dbSize
decr
del
deleteAll
eval
evalSHA
exists
expire
expireAt
get
getBit
getRange
getSet
hdel
hexists
hget
hgetAll
hincr
hkeys
hlen
hmget
hmset
hset
hsetNX
hvals
incr
keys
lindex
linsertAfter
linsertBefore
llen
lpop
lpush
lpushX
lrange
lrem
lset
ltrim
mget
move
mset
msetNX
persist
pfadd
pfcount
pfmerge
pttl
publish
pubsub
randomKey
rename
renameNX
request
rpop
rpoplpush
rpush
rpushX
sadd
scard
scriptLoad
sdiff
sdiffStore
set
setBit
setEX
setNX
setRange
setXX
sinter
sinterStore
sisMember
smembers
smove
spop
srandMember
srem
strlen
sunion
sunionStore
ttl
type
zadd
zcard
zcount
zincrby
zlexCount
zrange
zrangeByLex
zrangeByScore
zrank
zrem
zremRangeByRank
zremRangeByScore
zrevRange
zrevRangeByScore
zrevRank
zscore
properties
client
index
returns count random elements from the set stored at key