YiiRedis icon indicating copy to clipboard operation
YiiRedis copied to clipboard

A set of wrappers for different data types in redis

Results 8 YiiRedis issues
Sort by recently updated
recently updated
newest added

$channel = new ARedisChannel("myChannel"); $channel->onReceiveMessage = function($redis, $channel, $message) { echo "Message Received:".$message."\n"; }; $channel->subscribe(); I can't get the value of $channel, $message

1. populateRecord $record->setScenario('update'); +$record->setIsNewRecord(false); $record->init(); 2. getPrimaryKey foreach($attribute as $field) { - $pk[$field] = $this->{$attrubute}; - $pk[$field] = $this->{$field}; } P.S. I do not speak English

Hi, I'd like to separate data in different databases, in particular sessions from data, say respectively into database 1 and 2. I noticed you can instantiate any RedisEntity by specifying...

Can you please tell us is their any find and findAll related function available in ARedisRecord.php as in Cactiverecord class?

``` 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; }...

24 line if (!$this->getConnection()->getClient()->hset($this->name,$key, $value)) it don't corrent than hset return 1 if create new 0 if update exist and return false if error correct code if (false === $this->getConnection()->getClient()->hset($this->name,$key,...

When used to store Yii 1 sessions with Redis 7.2, i receive the error "Method Redis::delete() is deprecated". /var/www/protected/extensions/YiiRedis/ARedisSession.php(80) 78 public function destroySession($id) 79 { 80 $this->_connection->getClient()->delete($this->calculateKey($id)); 81 return true;...