Method Mysql.mysql()->insert_id() Method insert_id int insert_id() Description Returns the id of the last INSERT query into a table with an AUTO INCREMENT field.