Shame on me…
I looked at the user guide and the first function is $this->db->insert_id();
This also works with activerecord inserts…
EDIT: I updated the link
Shame on me…
I looked at the user guide and the first function is $this->db->insert_id();
This also works with activerecord inserts…
EDIT: I updated the link