Skip to content

Commit f7611c4

Browse files
authored
Add ability to clear offset
1 parent 4a6c589 commit f7611c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DatabaseQuery.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,10 @@ public function clear($clause = null)
560560
$this->limit = 0;
561561
break;
562562

563+
case 'offset':
564+
$this->offset = 0;
565+
break;
566+
563567
case 'union':
564568
$this->union = null;
565569
break;

0 commit comments

Comments
 (0)