BinaryRedis.spop

Remove a random element from a Set returning it as return value. If the Set is empty or the key does not exist, a nil object is returned. <p> The {@link #srandmember(const(ubyte)[])} command does a similar work but the returned element is not removed from the Set. <p> Time complexity O(1) @param key @return Bulk reply

  1. const(ubyte)[] spop(const(ubyte)[] key)
    class BinaryRedis
    const(ubyte)[]
    spop
    (
    const(ubyte)[] key
    )
  2. Set!(const(ubyte)[]) spop(const(ubyte)[] key, long count)

Meta