JDatabaseMySQL/getAffectedRows: Difference between revisions
From Joomla! Documentation
New page: ===Description===
int The number of affected rows in the previous operation 1.0.5
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDatabaseMySQL/g... |
m preparing for archive only |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
Line 30: | Line 28: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===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=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] |
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