W
W
WingRS2017-04-19 17:50:03
Yii
WingRS, 2017-04-19 17:50:03

Query optimization in yii2?

I am redoing the project using the old database of the site. The problem is that you need to load data from several tables at once, does yii2 optimize queries automatically or do you need to do it manually via JOIN?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
padlyuck, 2017-04-19
@WingRS

install yii-debug and see if it optimizes or not. Who knows what's going on there?

M
Maxim Timofeev, 2017-04-19
@webinar

www.yiiframework.com/doc-2.0/guide-db-active-recor...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question