Query optimization

Status
This content is read-only, or is not open for further replies.

Taylor J

Guest
offline
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

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom