Difference between revisions of "JDatabaseSQLAzure::getNumRows"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Get the number of returned rows for the previous executed SQL statement. | Get the number of returned rows for the previous executed SQL statement. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function getNumRows ($cursor=null) | public function getNumRows ($cursor=null) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseSQLAzure::getNumRows source code''' on [[jplatform:database/database/sqlazure.php#cl-269|BitBucket]] | * {{JVer|11.1}} '''JDatabaseSQLAzure::getNumRows source code''' on [[jplatform:database/database/sqlazure.php#cl-269|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDatabaseSQLAzure | + | * {{JVer|11.1}} Class [[API17:JDatabaseSQLAzure|JDatabaseSQLAzure]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Database | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] |
− | * [[JDatabaseSQLAzure::getNumRows|Other versions of JDatabaseSQLAzure::getNumRows]] | + | * [[API17:JDatabaseSQLAzure::getNumRows|Other versions of JDatabaseSQLAzure::getNumRows]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseSQLAzure::getNumRows | category=JDatabaseSQLAzure::getNumRows | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:48, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabaseSQLAzure::getNumRows[edit]
Description[edit]
Get the number of returned rows for the previous executed SQL statement.
public function getNumRows ($cursor=null)
Parameter | Type | Default | Description |
---|---|---|---|
$cursor | resource | null | An optional database cursor resource to extract the row count from. |
- Returns integer The number of returned rows.
- Defined on line 277 of libraries/joomla/database/database/sqlazure.php
- Since
See also[edit]
- JDatabaseSQLAzure::getNumRows source code on BitBucket
- Class JDatabaseSQLAzure
- Subpackage Database
- Other versions of JDatabaseSQLAzure::getNumRows
User contributed notes[edit]
Code Examples[edit]