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
Post a Comment