标签:sort sql erb find stat orderby sys where man
$query = Order::find()->select([‘order_sys_id‘])->where([‘order_car_id‘=>‘AA‘,‘order_status‘=>‘10‘])->orderBy([‘create_time‘=>SORT_DESC]);
$commandQuery = clone $query;
echo $commandQuery->createCommand()->getRawSql();
标签:sort sql erb find stat orderby sys where man
原文地址:https://www.cnblogs.com/Clymene/p/10063161.html