Hoffi
Well-known member
I am just trying to figure out how I can prevent many addiional querys.
I added a Relation to the post entity.
At the end I am accessing this Data in the Template, and everytime it's generated an addiional query. So far so good.
At the moment I am really puzzeling where to add the appropiate ->with Statement that all the data is fetched with the initial query?
I must oversee something, can someone give me the missing hint?
I added a Relation to the post entity.
At the end I am accessing this Data in the Template, and everytime it's generated an addiional query. So far so good.
At the moment I am really puzzeling where to add the appropiate ->with Statement that all the data is fetched with the initial query?
I must oversee something, can someone give me the missing hint?