打印sql语句 $users-createCommand()-getRawSql();//打印sql语句$map = ['IS', 'role', null];// yii查询语句, where条件判断
$users->createCommand()->getRawSql();//打印sql语句 $map = ['IS', 'role', null];// yii查询语句, where条件判断
$users->createCommand()->getRawSql();//打印sql语句 $map = ['IS', 'role', null];// yii查询语句, where条件判断