Added support for SDIFFCARD and SUNIONCARD command (#1700)

* Added support for SDIFFCARD and SUNIONCARD command

* Fixed broken test

* Fixed failing tests
This commit is contained in:
Vladyslav Vildanov
2026-07-17 10:36:00 +03:00
committed by GitHub
parent d7bc1c4748
commit 9302204964
11 changed files with 713 additions and 35 deletions
+2
View File
@@ -258,6 +258,7 @@ use Predis\Command\Redis\VADD;
* @method $this sadd($key, array $members)
* @method $this scard($key)
* @method $this sdiff(array|string $keys)
* @method $this sdiffcard(array $keys, int $limit = 0)
* @method $this sdiffstore($destination, array|string $keys)
* @method $this sinter(array|string $keys)
* @method $this sintercard(array $keys, int $limit = 0)
@@ -274,6 +275,7 @@ use Predis\Command\Redis\VADD;
* @method $this subscribe(string ...$channels)
* @method $this sunsubscribe(?string ...$shardChannels = null)
* @method $this sunion(array|string $keys)
* @method $this sunioncard(array $keys, bool $approx = false, int $limit = 0)
* @method $this sunionstore($destination, array|string $keys)
* @method $this tdigestadd(string $key, float ...$value)
* @method $this tdigestbyrank(string $key, int ...$rank)