feat : order
This commit is contained in:
@@ -542,6 +542,20 @@ class RedisCache
|
||||
return $this->getRedis($poolName)->zRem($key, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
* @param $score
|
||||
* @param $value
|
||||
* @param string $poolName
|
||||
* @return Redis|float|false
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function zIncrBy($key,$score, $value, string $poolName = RedisCode::DEFAULT_DB): Redis|float|false
|
||||
{
|
||||
return $this->getRedis($poolName)->zIncrBy($key, $score, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
* @param $value
|
||||
|
||||
Reference in New Issue
Block a user