Skip to content

Commit 7c6902e

Browse files
committed
added resetWithinGroupOrderBy method
1 parent 7034221 commit 7c6902e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/SphinxQL.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,30 +1402,42 @@ public function reset()
14021402
public function resetOrderBy()
14031403
{
14041404
$this->order_by = array();
1405+
14051406
return $this;
14061407
}
14071408

14081409
public function resetWhere()
14091410
{
14101411
$this->where = array();
1412+
14111413
return $this;
14121414
}
14131415

14141416
public function resetMatch()
14151417
{
14161418
$this->match = array();
1419+
14171420
return $this;
14181421
}
14191422

14201423
public function resetGroupBy()
14211424
{
14221425
$this->group_by = array();
1426+
1427+
return $this;
1428+
}
1429+
1430+
public function resetWithinGroupOrderBy()
1431+
{
1432+
$this->within_group_order_by = array();
1433+
14231434
return $this;
14241435
}
14251436

14261437
public function resetOptions()
14271438
{
14281439
$this->options = array();
1440+
14291441
return $this;
14301442
}
14311443
}

0 commit comments

Comments
 (0)