- Removed offset if limit = 0

This commit is contained in:
Dave Mc Nicoll 2024-10-07 19:36:53 +00:00
parent 8b1c11676d
commit d5cca085bc
1 changed files with 1 additions and 0 deletions

View File

@ -237,6 +237,7 @@ class MysqlQueryBuilder extends SqlQueryBuilder
if ($value === 0) {
$this->removeFragment(Query\Limit::class);
$this->removeFragment(Query\Offset::class);
}
return $this;