yii2 in 集合查詢排序失效解決方法

$resData = (new \yii\db\Query()) ->select('*') ->from('product') ->where(['id' => $productIdsArray]) ->all(); //查出的結果是升序排列的要想實現指定數組內的排序順序能夠使用下面的方法 $productIds =
相關文章
相關標籤/搜索