Groups
Groups
Sign in
Groups
Groups
CodenameOne Discussions
Conversations
Labels
About
Send feedback
Help
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 AM
6/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
6/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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