diff --git a/src/DbExtractor.php b/src/DbExtractor.php index 3bad717..030f971 100644 --- a/src/DbExtractor.php +++ b/src/DbExtractor.php @@ -71,7 +71,7 @@ public function extract(false|string $incremental = false): Generator $hashedQuery = $this->createHashedQuery(); $lastId = null; - if ($incremental) { + if (! empty($incremental)) { $hashedQuery->where($this->updateColumn, '>=', $incremental); }