Menu

#251 [PDO] PDO::lastInsertId require more support by CUBRID

open
nobody
None
5
2012-09-26
2012-09-26
Jira Trac
No

By spec of PDO, PDO::lastInsertId shall returns the ID of the last inserted row or sequence value. When this function's parameter is not null, it can return the current sequence value. It depends on the underlying database.

For this reason, CUBRID shall support function such as cci_get_serial_value() to get the current serial value.

To see PDO spec, see at http://www.php.net/manual/en/pdo.lastinsertid.php

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.