public function DatabaseStatementInterface::rowCount

public 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.

File

includes/database/database.inc, line 2020
Core systems for the database layer.

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

public function rowCount();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!database.inc/function/DatabaseStatementInterface::rowCount/7.x