Answer the question
In order to leave comments, you need to log in
Does Yii2 send a query to the database when using such a string?
Hello. The following question arose. I can access the user model in the following way Yii::$app->user->identity;
Question with the following. When executing this code, is the model already in this variable or is there a query to the database during execution?
Thanks in advance to all who respond.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question