API16

API16:JDatabaseMySQL/getAffectedRows

From Joomla! Documentation

Revision as of 01:27, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

int The number of affected rows in the previous operation 1.0.5



<! removed transcluded page call, red link never existed >

Syntax

getAffectedRows()


Returns

int The number of affected rows in the previous operation

Defined in

libraries/joomla/database/database/mysql.php

Importing

jimport( 'joomla.database.database.mysql' );

Source Body

public function getAffectedRows()
{
        return mysql_affected_rows($this->_connection);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples