diff --git a/dibi/drivers/pdo.php b/dibi/drivers/pdo.php index be54d0ca..285172bf 100644 --- a/dibi/drivers/pdo.php +++ b/dibi/drivers/pdo.php @@ -359,7 +359,7 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver */ public function getRowCount() { - throw new NotSupportedException('Row count is not available for unbuffered queries.'); + return $this->resultSet->rowCount(); }