php - Whats the equivalent of Eloquent's chunk in doctrine 2? -


in laravel, can use eloquent chunk results:

user::chunk(200, function($users) {     foreach ($users $user)     {         //     } }); 

what equivalent in doctrine2 (assuming symfony2 entity repository)?

i'm not has exact chunk functionality, processing large number of records might wish @ batch processing in doctrine.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -