JDatabaseMySQL/getAffectedRows: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
Line 32: | Line 32: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getAffectedRows | category=getAffectedRows | ||
category=JDatabaseMySQL | category=JDatabaseMySQL | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 01:27, 25 March 2017
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