1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-18 20:02:20 +02:00

DibiPdoDriver: added rowCount()

This commit is contained in:
David Grudl
2010-01-23 05:39:28 +01:00
parent fa0b146f67
commit cb1ed71669

View File

@@ -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();
}