mirror of
https://github.com/dg/dibi.git
synced 2025-08-24 06:33:13 +02:00
DibiPdoDriver: added rowCount()
This commit is contained in:
@@ -359,7 +359,7 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver
|
|||||||
*/
|
*/
|
||||||
public function getRowCount()
|
public function getRowCount()
|
||||||
{
|
{
|
||||||
throw new NotSupportedException('Row count is not available for unbuffered queries.');
|
return $this->resultSet->rowCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user