We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0201f03 commit 04452b6Copy full SHA for 04452b6
src/Anonymizer.php
@@ -60,7 +60,7 @@ public function getCount(Model $model): int
60
61
public function getChunk(Model $model, callable $call): bool
62
{
63
- return $this->getQuery($model)->chunk(
+ return $this->getQuery($model)->chunkById(
64
config('anonymizer.chunk_size', 1000),
65
$call
66
);
@@ -78,4 +78,4 @@ public function changeData(Model $model): bool
78
$model->anonymizableAttributes($this->faker)
79
80
}
81
-}
+}
0 commit comments