CActiveDataProvider能不能加条件语句?

CActiveDataProvider能不能加条件语句?

比如:id>5 , city=wuhan,之类。

可以,在dataProvider的方法里面添加。

找到了,谢谢