Комментарии:
Why do you write the code inside of the Controller? Shouldn't you typically write a function that does the query in the model and then call it in the Controller?
Ответить04JUN2021 you are the best
ОтветитьCan we just make public $db variable in controller and then use it in these action functions?
ОтветитьAmazing for the each explaining. I like this so much. Thanks.
ОтветитьHow do you type dump it will create pre tab??
ОтветитьPerfect. I like how you give examples to the things you describe. Very good and thank you again for your work. Keep em coming.
ОтветитьSir why u stopped uploading videos?
ОтветитьExcellent! Very well explained as all your videos. Thank you very much for sharing! Regards!
ОтветитьThis guy is superb he has helped me, he is a reason why am employed today
your contacts please
There are different ways to get data from the DB with the yii2 framework. Could you explain in an upcoming video wich one is the best in the individual cases? When I should use ActiveRecord and when ActiveQuery or command? What are the pros and cons? Thanks in advance!
ОтветитьVery useful!
Thank you!