mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 00:54:11 +02: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