[moka同学笔记]yII2获取最后一条数据 $model = User::find()->select('name')->where(['is_deleted'=>0])->orderBy('update_at DESC)->limit(1)->all();