>
, <
, >=
and <=
conditions support in ActiveQuery (nailfor, zacksleo)ActiveRecord::findOne()
and ::findAll()
(cebe)not between
and not
conditions which where not working correctly (cebe, ak1987)yii\redis\SocketException
for these (cebe)yii\redis\ActiveRecord::deleteAll()
with condition (samdark)Mutex
that implements a Redis based mutex (turboezh, sergeymakinen)Connection::$database
to null
to avoid sending a SELECT
command after connection (cebe)\yii\db\QueryInterface::emulateExecution()
(samdark)@method
documentation for redis commands (cebe)Connection::$socketClientFlags
property for connection flags to be passed to stream_socket_client()
(hugh-lee)BLPOP
command to $redisCommands
(samdark)GEO*
commands to $redisCommands
(leadermt)mget()
(pyurin)true
is returned instead, now only OK
will result in a true
while all other values are returned as is (cebe)null
and boolean values (samdark, cebe)unlinkAll()
-method to active record to remove all records of a model relation (NmDimas, samdark, cebe)init
event to ActiveQuery
classes (qiangxue)afterSave()
so information about changed attributes is available in afterSave
-event (cebe)ActiveRecord::create()
to populateRecord()
and changed signature. This method will not call instantiate() anymore (cebe)ActiveRelation
class and moved the functionality to ActiveQuery
.
All relational queries are now directly served by ActiveQuery
allowing to use
custom scopes in relations (cebe)