- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NestedAddress (0.08 sec)
-
tests/preload_test.go
}, AddressID: org.AddressID, Address: nil, NestedAddress: NestedAddress{EmbeddedAddress{ ID: org.NestedAddress.ID, Name: org.NestedAddress.Name, CountryID: org.NestedAddress.CountryID, Country: nil, }}, }, }, { name: "nested address country", preloads: map[string][]interface{}{"NestedAddress.Country": {}}, expect: Org{ ID: org.ID,
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
VisitingAddress Address `gorm:"embedded;embeddedPrefix:visiting_address_"` AddressID int Address struct { ID int Address } NestedAddress *NestedAddress `gorm:"embedded;embeddedPrefix:nested_address_"` CountryMixin } s, err := schema.Parse(&Org{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Errorf("Failed to parse schema, got error %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0)