Working with Yii2 Database Access Objects (DAO) | yii2 tutorials

Working with Yii2 Database Access Objects (DAO) | yii2 tutorials

The Codeholic

4 года назад

7,671 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kimo_B
Kimo_B - 11.03.2022 13:44

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?

Ответить
Janilson Andrade
Janilson Andrade - 04.07.2021 23:28

04JUN2021 you are the best

Ответить
Ilyas Bakirov
Ilyas Bakirov - 21.05.2021 14:26

Can we just make public $db variable in controller and then use it in these action functions?

Ответить
Tukijo
Tukijo - 15.06.2020 12:26

Amazing for the each explaining. I like this so much. Thanks.

Ответить
Nguyen Quan
Nguyen Quan - 19.05.2020 16:19

How do you type dump it will create pre tab??

Ответить
oraki13
oraki13 - 03.01.2020 16:46

Perfect. I like how you give examples to the things you describe. Very good and thank you again for your work. Keep em coming.

Ответить
Big Bang
Big Bang - 15.11.2019 11:53

Sir why u stopped uploading videos?

Ответить
Nicolás Ignacio Leone
Nicolás Ignacio Leone - 11.11.2019 03:01

Excellent! Very well explained as all your videos. Thank you very much for sharing! Regards!

Ответить
Joshua Kittot
Joshua Kittot - 08.11.2019 10:24

This guy is superb he has helped me, he is a reason why am employed today
your contacts please

Ответить
Chris
Chris - 06.11.2019 02:28

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!

Ответить
Bartos Gábor
Bartos Gábor - 05.11.2019 23:18

Very useful!
Thank you!

Ответить