Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Sep 14, 2024
1 parent e51b805 commit 5309c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/QueuedExportAsCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function handle()
$query = unserialize($this->query);

$eloquentGenerator = function () use ($query) {
foreach ($query->cursor() as $model) {
foreach ($query->lazy() as $model) {
yield $model;
}
};
Expand Down

0 comments on commit 5309c4d

Please sign in to comment.