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
go-gorm/playground#685
Related to go-gormigrate/gormigrate#217
This library is using customizable table and column name, so Create is used this way :
columnName := "name" user := map[string]interface{}{columnName: "id"} err := DB.Table("users").Create(user).Error
which return the error "LastInsertId is not supported by this driver", instead of creating the record
The text was updated successfully, but these errors were encountered:
If this won't be patched, do you have a solution in order to patch the library?
Sorry, something went wrong.
this error is preventing me from upgrading my service! any help would be greatly appreciated
81536f8
Revert "Fix insert id into map results, fix go-gorm#6812"
b16c591
This reverts commit 81536f8.
jinzhu
No branches or pull requests
GORM Playground Link
go-gorm/playground#685
Description
Related to go-gormigrate/gormigrate#217
This library is using customizable table and column name, so Create is used this way :
which return the error "LastInsertId is not supported by this driver", instead of creating the record
The text was updated successfully, but these errors were encountered: