mirror of
https://github.com/dg/dibi.git
synced 2025-08-08 15:16:58 +02:00
PdoDriver::getInsertId() fixed
This commit is contained in:
committed by
David Grudl
parent
34bdd5f267
commit
7d07db1f12
@@ -148,7 +148,7 @@ class PdoDriver implements Dibi\Driver, Dibi\ResultDriver
|
||||
*/
|
||||
public function getInsertId($sequence)
|
||||
{
|
||||
return $this->connection->lastInsertId();
|
||||
return $this->connection->lastInsertId($sequence);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user