dump($q->...->createCommand()->rawSql); Yii::$app->user->identity->id