We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 053e6dc + 291bc37 commit 3d3d133Copy full SHA for 3d3d133
src/db/Query.php
@@ -588,7 +588,7 @@ public function setField($field, $value = '')
588
*/
589
public function setInc($field, $step = 1)
590
{
591
- return $this->setField($field, ['exp', $field, $step]);
+ return $this->setField($field, ['inc', $field, $step]);
592
}
593
594
/**
@@ -601,7 +601,7 @@ public function setInc($field, $step = 1)
601
602
public function setDec($field, $step = 1)
603
604
+ return $this->setField($field, ['dec', $field, $step]);
605
606
607
0 commit comments