1 database.inc public DatabaseStatementInterface::rowCount()

Returns the number of rows affected by the last SQL statement.

Return value

int: The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed.

File

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

Class

DatabaseStatementInterface
Represents a prepared statement.

Code

public function rowCount();