BinaryRedis.srandmember

Return a random element from a Set, without removing the element. If the Set is empty or the key does not exist, a nil object is returned. <p> The SPOP command does a similar work but the returned element is popped (removed) from the Set. <p> Time complexity O(1) @param key @return Bulk reply

  1. const(ubyte)[] srandmember(const(ubyte)[] key)
    class BinaryRedis
    const(ubyte)[]
    srandmember
    (
    const(ubyte)[] key
    )
  2. List!(const(ubyte)[]) srandmember(const(ubyte)[] key, int count)

Meta