📜  最后插入 id 模型 codeigniter - PHP 代码示例
📅  最后修改于: 2022-03-11 14:54:05.890000             🧑  作者: Mango
代码示例2
$this->db->insert('posts', $post_data);
$insert_id = $this->db->insert_id();
return $insert_id;