📜  mysql 获取最后插入的 id - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:13.557000             🧑  作者: Mango

代码示例4
//You need to use this in OpenCart for getting last insert id:
$this->db->getLastId()