Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I wonder if there is a good way to get the id of the last inserted row.
I see that there is the LastInsertId property in TMySQLClient, but when you use the client as a global object (since i dont want to start a new connection for every object that communicates with the MySQL server) i cant be sure that the ID corresponds to the insert i did.
Wouldt it be better to have that property as a part of the result when doing a INSERT query…
if you have several threads, you could use critical sections.