mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 00:24:19 +02:00
- affectedRows(), insertId(), rowCount() are aliases for getAffectedRows(), getInsertId(), getRowCount()
This commit is contained in:
@@ -116,9 +116,20 @@ class DibiResult extends DibiObject implements IDataSource
|
||||
* Returns the number of rows in a result set.
|
||||
* @return int
|
||||
*/
|
||||
final public function getRowCount()
|
||||
{
|
||||
return $this->getDriver()->getRowCount();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns the number of rows in a result set. Alias for getRowCount().
|
||||
* @return int
|
||||
*/
|
||||
final public function rowCount()
|
||||
{
|
||||
return $this->getDriver()->rowCount();
|
||||
return $this->getDriver()->getRowCount();
|
||||
}
|
||||
|
||||
|
||||
@@ -602,7 +613,7 @@ class DibiResult extends DibiObject implements IDataSource
|
||||
*/
|
||||
final public function count()
|
||||
{
|
||||
return $this->rowCount();
|
||||
return $this->getRowCount();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user