I am using Node JS to do a insert in a MySql Database.
I checked the results of the INSERT and everything went well.
I am using at the result of the query, the var resultId to check the last id inserted on the database, but at this case I am inserting multiple rows into the database and my resultId has the value of the first inserted one.
Do in node Js exist something to use that I can see all the inserted resultId's ?
Thank you
via Vinicius Martin
No comments:
Post a Comment