- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for UserAux (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
schema/relationship_test.go
func TestSameForeignKey(t *testing.T) { type UserAux struct { gorm.Model Aux string UUID string } type User struct { gorm.Model Name string UUID string Aux *UserAux `gorm:"foreignkey:UUID;references:UUID"` } checkStructRelation(t, &User{}, Relation{ Name: "Aux", Type: schema.HasOne, Schema: "User", FieldSchema: "UserAux", References: []Reference{
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Aug 18 11:44:52 GMT 2025 - 26.5K bytes - Click Count (0)