class UserRedisModel extends \yii\redis\ActiveRecord
public static function keyPrefix()
{
return 'users'; // TODO: Change the autogenerated stub
}
public function attributes()
{
return [ 'id', 'first_name', 'last_name','status' ];
}
}
Now am using the above redisActive record model like
What steps will reproduce the problem?
Now am using the above redisActive record model like
What's expected?
I expected to get all users with first name that has a. In the
yii\db\ActiveRecord
the above works but not on redis Active recordWhat do you get instead?
Am getting an error
LIKE conditions are not suppoerted by redis ActiveRecord.
Additional info