
Collection or filtered collection
Hi,
I Have an action with a loop in which I have to repeatedly create a collection.
I assume that BB has to get data from the database for creating that selection, so it may generate a lot of queries.
Is it so, that creating a 'rough' collection outside (before) the loop and use a filtered collection on that inside the loop is a better approach, thinking about performance?
Hans
Hi,
I Have an action with a loop in which I have to repeatedly create a collection.
I assume that BB has to get data from the database for creating that selection, so it may generate a lot of queries.
Is it so, that creating a 'rough' collection outside (before) the loop and use a filtered collection on that inside the loop is a better approach, thinking about performance?
Hans
Login to reply