feat: spu
This commit is contained in:
@@ -540,6 +540,19 @@ class RedisCache
|
||||
{
|
||||
return $this->getRedis($poolName)->zRem($key, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
* @param $value
|
||||
* @param string $poolName
|
||||
* @return false|int|Redis
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function zRank($key, $value, string $poolName = 'default')
|
||||
{
|
||||
return $this->getRedis($poolName)->zRank($key, $value);
|
||||
}
|
||||
// +--------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// | geo
|
||||
// +--------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user