src/Sql/Query.php
public function update($table, array $data, WhereStatementInterface $where = null)
    {
        return new Update($table, $data, $where);
    }
public function update($table, array $data, WhereStatementInterface $where = null)
    {
        return new Update($table, $data, $where);
    }
public function update ( $ table , array $ data , WhereStatementInterface $ where = null ) { return new Update ( $ table , $ data , $ where ) ; }
changes values of existing data in a PDO connected resource
@param string $table table with which you wish to update
@param array $data a single level associative array containing keys that
represent the fields and values that represent new values to be updated
into the table
@param null|WhereStatementInterface $where an object that is designed to
return a where statement to limit the data that is affected by the update
@return Update the update object responsible to handling the update of
persistent records.
@since v1.0.0
changes values of existing data in a PDO connected resource