Query optimization

Query optimization
0
13
I'm attempting to optimize my usage of queries when it comes to using the finder to find all blog posts from a blog.

Right now my query count is sitting around 20, sometimes a bit more, lowest I've seen is 17 though so far. When looking into the debug log when clicking on the render time it shows that I am querying attachments for every blog post.

I've tried to use a ->with('Attachments') on the finder but get back the error that joins won't work on due to it only supporting TO_ONE...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ
Яндекс.Метрика