yii 按时间筛选怎样写where
查询大于某个时间戳的结果如下:
Post::find()->where(['>', 'created_at', $time])->all();
好 我 试试看
更多where的用法,请参考:http://www.yiichina.com/doc/api/2.0/yii-db-query#where()-detail