Extend Sorted Set support by implementing ZRANDMEMBER command (#825)

* Added support for ZRANDMEMBER, added test coverage

* Changed key to more specific on exception testing

Co-authored-by: Vladislav <vladislav@Admins-MacBook-Pro.local>
This commit is contained in:
Vladyslav Vildanov
2022-11-21 18:37:04 +02:00
committed by GitHub
parent 94bd54b2af
commit 169604bf74
4 changed files with 172 additions and 0 deletions
+1
View File
@@ -112,6 +112,7 @@ use Predis\Command\CommandInterface;
* @method $this zincrby($key, $increment, $member)
* @method $this zinterstore($destination, array|string $keys, array $options = null)
* @method $this zmscore(string $key, string ...$member)
* @method $this zrandmember(string $key, int $count = 1, bool $withScores = false)
* @method $this zrange($key, $start, $stop, array $options = null)
* @method $this zrangebyscore($key, $min, $max, array $options = null)
* @method $this zrank($key, $member)