Update Query.php

This commit is contained in:
zzpuser
2016-08-04 10:46:28 +08:00
committed by GitHub
parent 2fb6ce8021
commit 0e27b1d896

View File

@@ -595,8 +595,9 @@ class Query
if (false === $step) {
return true; // 等待下次写入
}
$step = -$step;
}
return $this->setField($field, ['exp', $field . '+' . $step]);
return $this->setField($field, ['exp', $field . '-' . $step]);
}
/**