Releases: E96/yii2-redis
Releases · E96/yii2-redis
Get pk from condition if possible
Refactoring AR Attributes
Merge pull request #5 from E96/refacoring refactoring working with attributes
2.1.6
2.1.5
2.1.4
add dataTimeout
2.1.3 set dataTimeout
phpredis
PK algorithm change
This release breaks compatibility with older releases.
To migrate to new version you should migrate your pks. Example code:
function fill($keys)
{
foreach ($keys as $key) {
yield $key;
yield 0;
}
}
$keys = $redis->executeCommand('LRANGE', ['model', 0, -1]);
$keys = iterator_to_array(fill($keys));
$keys = array_unshift($keys, 'model')
$redis->executeCommand('DEL', 'model')
$redis->executeCommand('HMSET', $keys)
2.0.4.4
Publish package
2.0.4.3 update README