public getRowCount ( ) : integer | ||
return | integer | number of rows contained in the result. Note, most DBMS may not give a meaningful count. In this case, use "SELECT COUNT(*) FROM tableName" to obtain the number of rows. |
public function getRowCount()
{
return $this->_statement->rowCount();
}