How to know the id of the last inserted record through SQLMap API?

29 views
Skip to first unread message

rdvg...@gmail.com

unread,
Jun 14, 2021, 4:13:05 AM6/14/21
to CodenameOne Discussions
Hi,

I am using the SQLMap API inserting records into a table with auto increment. Could you tell me how you can get the id of the last inserted record.

Shai Almog

unread,
Jun 14, 2021, 10:02:00 PM6/14/21
to CodenameOne Discussions
Hi,
right now you'll need to select again to get that id. We don't automatically update the primary key on insert yet.
Reply all
Reply to author
Forward
0 new messages