Example #1
0
 /**
  * Get UpdateQuery builder with pre-populated table name and set of columns to update. Columns
  * can be scalar values, Parameter objects or even SQLFragments. Call ->run() to perform query.
  *
  * @param array $values Initial set of columns associated with values.
  * @param array $where  Initial set of where rules specified as array.
  * @return UpdateQuery
  */
 public function update(array $values = [], array $where = [])
 {
     return $this->database->update($this->name, $values, $where);
 }