Prado\Data\SqlMap\TSqlMapGateway::update PHP Method

update() public method

Update can also be used for any other update statement type, such as inserts and deletes. Update returns the number of rows effected. The parameter object is generally used to supply the input data for the UPDATE values as well as the WHERE clause parameter(s).
public update ( $statementName, $parameter = null ) : integer
return integer The number of rows effected.
    public function update($statementName, $parameter = null)
    {
        $statement = $this->getSqlMapManager()->getMappedStatement($statementName);
        return $statement->executeUpdate($this->getDbConnection(), $parameter);
    }