function DatabaseStatementInterface::rowCount
Returns the number of rows affected by the last SQL statement.
Return value
The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed.
2 methods override DatabaseStatementInterface::rowCount()
- DatabaseStatementEmpty::rowCount in includes/
database/ database.inc  - Returns the number of rows affected by the last SQL statement.
 - DatabaseStatementPrefetch::rowCount in includes/
database/ prefetch.inc  - Returns the number of rows affected by the last SQL statement.
 
File
- 
              includes/
database/ database.inc, line 2099  
Class
- DatabaseStatementInterface
 - Represents a prepared statement.
 
Code
public function rowCount();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.