mirror of
https://github.com/predis/predis.git
synced 2026-08-27 18:51:07 +00:00
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:
committed by
GitHub
parent
94bd54b2af
commit
169604bf74
@@ -130,6 +130,7 @@ use Predis\Response\Status;
|
||||
* @method array zmscore(string $key, string ...$member)
|
||||
* @method array zpopmin(string $key, int $count = 1)
|
||||
* @method array zpopmax(string $key, int $count = 1)
|
||||
* @method mixed zrandmember(string $key, int $count = 1, bool $withScores = false)
|
||||
* @method array zrange(string $key, int|string $start, int|string $stop, array $options = null)
|
||||
* @method array zrangebyscore(string $key, int|string $min, int|string $max, array $options = null)
|
||||
* @method int|null zrank(string $key, string $member)
|
||||
|
||||
Reference in New Issue
Block a user