JDatabaseMySQL::getAffectedRows: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JDatabaseMySQL::getAffectedRows/11.1 to API17:JDatabaseMySQL::getAffectedRows without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Get the number of affected rows for the previous executed SQL statement. | Get the number of affected rows for the previous executed SQL statement. | ||
<source lang="php"> | <source lang="php"> | ||
public function getAffectedRows () | public function getAffectedRows () | ||
| Line 16: | Line 14: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::getAffectedRows source code''' on [[jplatform:database/database/mysql.php#cl-165|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQL::getAffectedRows source code''' on [[jplatform:database/database/mysql.php#cl-165|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseMySQL::getAffectedRows|Other versions of JDatabaseMySQL::getAffectedRows]] | * [[API17:JDatabaseMySQL::getAffectedRows|Other versions of JDatabaseMySQL::getAffectedRows]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::getAffectedRows | category=JDatabaseMySQL::getAffectedRows | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 34: | Line 30: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:38, 25 March 2017
JDatabaseMySQL::getAffectedRows
Description
Get the number of affected rows for the previous executed SQL statement.
public function getAffectedRows ()
- Returns integer The number of affected rows.
- Defined on line 173 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::getAffectedRows source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::getAffectedRows
User contributed notes
Code Examples