Skip to content

Commit

Permalink
Add ability to clear offset
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge authored Jun 1, 2017
1 parent 4a6c589 commit f7611c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DatabaseQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,10 @@ public function clear($clause = null)
$this->limit = 0;
break;

case 'offset':
$this->offset = 0;
break;

case 'union':
$this->union = null;
break;
Expand Down

0 comments on commit f7611c4

Please sign in to comment.