示例#1
0
 /**
  * Add an amount (can be negative) to the specified field (needs to be numeric).
  *
  * @since 1.20
  * @deprecated since 1.22, use IORMTable->addToField
  *
  * @param string $field
  * @param integer $amount
  *
  * @return boolean Success indicator
  */
 public function addToField($field, $amount)
 {
     return $this->table->addToField($this->getUpdateConditions(), $field, $amount);
 }