- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CreatedUser (0.16 sec)
-
schema/relationship_test.go
CreatedByID uint CreatedBy *CreatedUser } type CreatedUser struct { gorm.Model CreatedByModel } func TestEmbeddedRelation(t *testing.T) { checkStructRelation(t, &CreatedUser{}, Relation{ Name: "CreatedBy", Type: schema.BelongsTo, Schema: "CreatedUser", FieldSchema: "CreatedUser", References: []Reference{ {"ID", "CreatedUser", "CreatedByID", "CreatedUser", "", false}, }, })
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0)