After the database server executes an INSERT statement, the mi_get_result( ) function returns a MI_DML statement status. You can obtain the following information about the statement:
The SERIAL and SERIAL8 data types allow you to have an integer column for which the database server automatically increments the value with each insert. You can obtain the newly inserted serial value for the most recent INSERT statement with the following DataBlade API functions.