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
关于嵌套模型的gorm tag目前不支持如下写法
type PurItemCommon { OrderID int64 } type PurReceiveItem struct { BaseDelete PurItemCommon `gorm:"->"` }
只支持
type PurReceiveItem struct { BaseDelete PurItemCommon `gorm:"-"` }
某些时候我们不希望PurItemCommon在create的时候插入数据库,但是查询时可以连表查询并映射到此嵌入结构体 希望能和非嵌入字段权限一样使用
The text was updated successfully, but these errors were encountered:
jinzhu
No branches or pull requests
Describe the feature
关于嵌套模型的gorm tag目前不支持如下写法
只支持
某些时候我们不希望PurItemCommon在create的时候插入数据库,但是查询时可以连表查询并映射到此嵌入结构体
希望能和非嵌入字段权限一样使用
Motivation
Related Issues
The text was updated successfully, but these errors were encountered: