示例#1
0
 /**
  * Get instance of UpdateBuilder associated with current Database.
  *
  * @param string $table  Table where rows should be updated in.
  * @param array  $values Initial set of columns to update associated with their values.
  * @param array  $where  Initial set of where rules specified as array.
  * @return UpdateQuery
  */
 public function update($table = '', array $values = [], array $where = [])
 {
     return $this->driver->updateBuilder($this, compact('table', 'where', 'values'));
 }