Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
27pchrisl committed Feb 14, 2023
1 parent 36f28e3 commit 97efa4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/EloquentEntitySet.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public function query(): Generator
$builder->skip($this->getSkip()->getValue());
}

foreach ($builder->lazyById() as $model) {
foreach ($builder->cursor() as $model) {
yield $this->modelToEntity($model);
}
}
Expand Down

0 comments on commit 97efa4c

Please sign in to comment.