issues
search
samdark
/
yii2-cookbook
Yii 2.0 Community Cookbook
1.45k
stars
296
forks
source link
Adjust single table inheritance recipe to be able to work with ->where
#27
Closed
samdark
closed
9 years ago
samdark
commented
9 years ago
https://github.com/yiisoft/yii2/issues/6011
Override AR's
find()
to return custom Query class.
In custom Query class override prepare to modify conditions.
https://github.com/yiisoft/yii2/issues/6011
find()
to return custom Query class.