API17:JDatabaseSQLSrv::getNumRows
From Joomla! Documentation
JDatabaseSQLSrv::getNumRows
Description
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/sqlsrv.php
- Since

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