You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a model with a HasOne relationship like this...
Model("Avatar", func() {
Description("Avatar that will display by their name and profile")
Field("id", gorma.Integer, func() {
PrimaryKey()
})
Field("url", gorma.String)
})
Model("User", func() {
Description("User model")
HasOne("Avatar")
HasMany("Files")
and it fails to generate a helper function One[Model](ctx context.Context, id int) method
I have a model with a HasOne relationship like this...
and it fails to generate a helper function
One[Model](ctx context.Context, id int)
methodThe text was updated successfully, but these errors were encountered: