示例#1
0
 /**
  * Decrement a column's value by a given amount.
  *
  * @param  string  $column
  * @param  int     $amount
  * @param  array   $extra
  * @return int
  */
 public function decrement($column, $amount = 1, array $extra = array())
 {
     $extra = $this->addUpdatedAtColumn($extra);
     return $this->query->decrement($column, $amount, $extra);
 }