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
LastInsertId always passes back the int64 in the mocked result. Can't quite get to 100% code coverage without forcing a LastInsertId error.
func (r *result) LastInsertId() (int64, error) { return r.insertID, nil }
https://github.com/DATA-DOG/go-sqlmock/blob/master/result.go#L25
The text was updated successfully, but these errors were encountered:
60b2068
No branches or pull requests
LastInsertId always passes back the int64 in the mocked result. Can't quite get to 100% code coverage without forcing a LastInsertId error.
https://github.com/DATA-DOG/go-sqlmock/blob/master/result.go#L25
The text was updated successfully, but these errors were encountered: