-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.0
This function gets the ID of the last inserted row, not the ID of the next row to be inserted (which is difficult due to different autoincrement steps and also lends itself nicely to race conditions).
Someone reading the API could be mislead as to what this function does. Perhaps "sql_lastid" or "sql_insertedid" may be better?