- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CountryID (0.05 sec)
-
schema/relationship_test.go
func TestEmbeddedBelongsTo(t *testing.T) { type Country struct { ID int `gorm:"primaryKey"` Name string } type Address struct { CountryID int Country Country } type NestedAddress struct { Address } type CountryMixin struct { CountryID int Country Country } type Org struct { ID int PostalAddress Address `gorm:"embedded;embeddedPrefix:postal_address_"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0)