yii2得到从数据库得到数据的方法并处理

第一种数组 use common\models\Poststatus; $psObjs = Poststatus::find()->all(); 第二种yii2 $psArray =Yii::$app->db->createCommand('select id,name from Poststatus')->queryAll(); 第三种(构建查询器)app $allStatus = (new
相关文章
相关标签/搜索