/** * Run a raw update against the base query. * * @param array $attributes * @return int */ public function rawUpdate(array $attributes = array()) { return $this->query->update($attributes); }
/** * Update a record in the database. * * @param array $values * @return int */ public function update(array $values) { return $this->query->update($this->addUpdatedAtColumn($values)); }