mirror of
https://github.com/dg/dibi.git
synced 2025-10-29 12:46:15 +01:00
* added support for affectedRows in DibiPdoDriver
This commit is contained in:
@@ -291,7 +291,7 @@ class DibiConnection extends NObject
|
||||
{
|
||||
$id = $this->driver->insertId($sequence);
|
||||
if ($id < 1) throw new DibiException('Cannot retrieve last generated ID');
|
||||
return $id;
|
||||
return (int) $id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user