ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 25,951
- Points
- 823
Reputation:
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
Read more
Continue reading...
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...