Answers for "codeigniter 4 query builder get inserted id"

PHP
0

codeigniter 4 query builder get inserted id

$query = $this->db->table($this->table)->insert($data);
return $query->resultID;
Posted by: Guest on December-12-2020

Code answers related to "codeigniter 4 query builder get inserted id"

Browse Popular Code Answers by Language