Gii And New Query Classes

Looking at https://github.com/yiisoft/yii2/issues/2016, I wonder how the ActiveQuery class is related to the search class generated by GII CRUD…

And I also wonder if GII should give at least an option to generate the ActiveQuery class in the Model Generator…

It’s not really related. Search model is basically a form model. Generating ActiveQuery is a good idea. Would be great if you’ll add it github.

Done! https://github.com/yiisoft/yii2/issues/2109

:)