-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
public function getCount() {
if ($this->_count === null) {
if ($this->name === null) {
throw new CException(get_class($this)." requires a name!");
}
$this->_count = (int) $this->getConnection()->getClient()->lSize($this->name);
}
return $this->_count;
}
lSize does not work
but work this:
$rconn = Yii::app()->redis->getClient();
$llen_f = $rconn->llen($redis_key);
Metadata
Metadata
Assignees
Labels
No labels