Answer the question
In order to leave comments, you need to log in
Profiling sql queries when running from the console?
How in yii2 can I see a list of all sql queries that are sent to the database when running a command from the console via ./yii ? I read about profiling, but as I understand it, it works when you open the page from the browser, it's not clear how to set it up for the console
Answer the question
In order to leave comments, you need to log in
Set up logging in the console.php config similar to web.php (this is of course for a basic project).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question