MySQL Forums
Forum List  »  Connector/Node.js

SqlResult does not have getLastInsertId()
Posted by: Seongjoo Lee
Date: January 21, 2023 07:25PM

API Version: @mysql/xdevapi 8.0.32

User guide shows that SqlResult has getLastInserId()

But it does not.

For now, it seems that executing sql query as string is required to get the last insert id.

Options: ReplyQuote

Written By
SqlResult does not have getLastInsertId()
January 21, 2023 07:25PM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.