- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CountryID (0.12 sec)
-
tests/preload_test.go
ID: org.PostalAddress.ID, Name: org.PostalAddress.Name, CountryID: org.PostalAddress.CountryID, Country: nil, }, VisitingAddress: EmbeddedAddress{ ID: org.VisitingAddress.ID, Name: org.VisitingAddress.Name, CountryID: org.VisitingAddress.CountryID, Country: nil, }, AddressID: org.AddressID, Address: org.Address,
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
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 Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0)