src/mako/database/query/Query.php
public function update(array $values): int
	{
		$query = $this->compiler->update($values);

		return $this->connection->queryAndCount($query['sql'], $query['params']);
	}
public function update(array $values): int
	{
		$query = $this->compiler->update($values);

		return $this->connection->queryAndCount($query['sql'], $query['params']);
	}
public function update ( array $ values ) : int { $ query = $ this -> compiler -> update ( $ values ) ; return $ this -> connection -> queryAndCount ( $ query [ 'sql' ] , $ query [ 'params' ] ) ; }
Updates data from the chosen table.

@param  array $values Associative array of column values
@return int
Updates data from the chosen table .