We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For Go2,
LastInsertId() and RowsAffected() should return uint64 instead of int64.
LastInsertId()
RowsAffected()
I came across an issue relating to this on MySQL recently.
The text was updated successfully, but these errors were encountered:
Another solution is LastInsertId() returns a string.
It is foreseeable that some databases have a primary key as a string (MySQL supports this) with no integer auto_increment.
In that case, a hypothetical driver should be able to return a string or interface{}.
Sorry, something went wrong.
This is issue https://golang.org/issue/19055 .
I'm closing this issue. Please comment on #19055 .
No branches or pull requests
For Go2,
LastInsertId()
andRowsAffected()
should return uint64 instead of int64.I came across an issue relating to this on MySQL recently.
The text was updated successfully, but these errors were encountered: