我在 PDO 中收到此错误:
错误:消息:PDO::lastInsertId() [pdo.lastinsertid]: SQLSTATE[IM001]: Driver does not support this function: driver does not support lastInsertId()
当试图从 oracle 数据库中获取最后插入的 id 时。我将序列字符串添加到最后一个插入 id 函数但仍然无法正常工作。对于带有 PDO 的 Oracle 上的这个错误,谷歌并没有多说。