API17

JDatabaseMySQL::getAffectedRows: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDatabaseMySQL::getAffectedRows==
=={{JVer|11.1}} JDatabaseMySQL::getAffectedRows==
===Description===
===Description===
Get the number of affected rows for the previous executed SQL statement.




{{Description:JDatabaseMySQL::getAffectedRows}}
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getAffectedRows|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|1.0.5 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQL->getAffectedRows ()
public function getAffectedRows ()
</source>
</source>
===Returns===
* '''Returns''' integer The number of affected rows.
int The number of affected rows in the previous operation
* '''Defined''' on line 173 of libraries/joomla/database/database/mysql.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysql.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabaseMySQL::getAffectedRows source code''' on [[jplatform:database/database/mysql.php#cl-165|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getAffectedRows|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
* [[API17:JDatabaseMySQL::getAffectedRows|Other versions of JDatabaseMySQL::getAffectedRows]]
* [[JDatabaseMySQL::getAffectedRows|Other versions of this method]]
 
{{SeeAlso:JDatabaseMySQL::getAffectedRows}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQL::getAffectedRows
category=JDatabaseMySQL::getAffectedRows
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::getAffectedRows]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:38, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples