Compare commits

...

2 Commits

Author SHA1 Message Date
Dave Mc Nicoll
4106c8db91 Merge branch 'notes-2.x' of https://git.mcnd.ca/mcndave/ulmus into notes-2.x 2024-10-07 19:37:10 +00:00
Dave Mc Nicoll
d5cca085bc - Removed offset if limit = 0 2024-10-07 19:36:53 +00:00

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;