Answer the question
In order to leave comments, you need to log in
What is the equivalent of CDataProviderIterator in Yii2 to work with large amount of data?
yii1 has a CDataProviderIterator for working with large amounts of data ( yiiframework.ru/doc/cookbook/ru/model.data.provide... ). Is there an analogue in yii2 (I can’t find something ..). If not, what is the right way to build a job so as not to create your own bike?
I came across this article ( https://orlov.io/ru/articles/rabota-s-bolshimi-oby... where the point is that the author proposes to process data in a cycle of 500 records at a time. But something It tells me there are better options.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question