- Removed offset if limit = 0
This commit is contained in:
parent
8b1c11676d
commit
d5cca085bc
|
@ -237,6 +237,7 @@ class MysqlQueryBuilder extends SqlQueryBuilder
|
|||
|
||||
if ($value === 0) {
|
||||
$this->removeFragment(Query\Limit::class);
|
||||
$this->removeFragment(Query\Offset::class);
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
|
Loading…
Reference in New Issue