You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @okuehne
The Collection have built-in getIterator() so I guess you don't need to define your own method.
As for large array, I'd suggest to either chunk it into smaller chunk of products or fetch the products with offset and limit, like 100 products per request.
What is the common way to iterate through many entities, for example a thousand products or more?
Now i do it in this way, but it feels not good, what is your solution?
if i remove the limit with
$criteria->setLimit(null);
i got theAllowed memory size
errorThe text was updated successfully, but these errors were encountered: