- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for id (0.11 sec)
-
tests/associations_belongs_to_test.go
} if company2.ID == 0 { t.Fatalf("Company's ID should be created") } if err := DB.Model(&user2).Association("Manager").Replace(manager2); err != nil { t.Fatalf("Error happened when replace Manager, got %v", err) } if manager2.ID == 0 { t.Fatalf("Manager's ID should be created") } user.Company = company2 user.Manager = manager2 user.CompanyID = &company2.ID user.ManagerID = &manager2.ID
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Viewed (0)