-
Notifications
You must be signed in to change notification settings - Fork 221
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
no primary key for col #101
Comments
type User struct {
Address Address `xorm:"json"`
}
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
internal/statments/values的Value2Interface函数在结构体转换的时候一直报"no primary key for col xxx"的错误
看了一下源码,结构体部分一定会进入!col.SQLType.IsJson()分支,如果把这个分支放在最后,程序就能够正常的进行
The text was updated successfully, but these errors were encountered: