-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LastInsertId #5
Comments
I could swear that I used this functionality from one of my previous projects, but it seems as though the library does not currently support it. I'll add it onto the 4.1 to-do. |
Thanks that would be good. I don't suppose you know a work around until then? P.s. Sorry for using Issues, I couldn't work out how to message you directly. |
No, thank you for using issues! That's the most proper way of contacting me in regards to a bug or feature request. The workaround would be: long key = 0; Where sql is your connection variable. |
This issue has been fixed in 4.1 and added to BukkitDev. However, I cannot push 4.1 to GitHub yet due to an error I am diagnosing. |
How do you get the last insert id?
It would be handy it there was some documentation and usage examples.
The text was updated successfully, but these errors were encountered: