yii2-redis
yii2-redis copied to clipboard
Yii 2 Redis extension.
| Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | #251
### What steps will reproduce the problem? https://github.com/vistart/yii2-redis/blob/master/tests/data/ar/CustomerBinary.php https://github.com/vistart/yii2-redis/blob/master/tests/data/ar/CustomerBinaryQuery.php I modify the [Customer](https://github.com/vistart/yii2-redis/blob/master/tests/data/ar/Customer.php) class and added a guid field without modifying the primary key. Then in [ActiveRecordTest](https://github.com/vistart/yii2-redis/blob/master/tests/ActiveRecordTest.php), save an instance...
`composer require yiisoft/yii2-redis` > The requested package guzzlehttp/guzzle (locked at 6.5.5, required as ^7.0) is satisfiable by guzzlehttp/guzzle[6.5.5] but these conflict with your requirements or minimum-stability.
Because redis session inherits the default session class, it ends up creating the session folder, this could be removed. I'm in doubt about the best way to remove this abstraction...
Why not user Redis C extension ? Dose it fast then C extension?
I've read some issues and not sure in subject
This issue has originally been reported by @alu12138 at https://github.com/yiisoft/yii2/issues/16613. Moved here by @samdark. ----- ### What steps will reproduce the problem? $redis = \Yii::$app->redis; $redis->eval($lua, array("data1", "date2", 1, 1,time()),...
### What steps will reproduce the problem? add Data change primaryKey deleteAll() ### What's expected? Expected the find()->all() is empty but,calling find()->all() the data is still ### What do you...
### What steps will reproduce the problem? Every updateCounters() operation requires data to be query (determine whether the data exists) and locks to be used, which is very inefficient ###...