- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for createEl (0.15 sec)
-
tests/associations_belongs_to_test.go
} if company.ID == 0 { t.Fatalf("Company's ID should be created") } if err := DB.Model(&user2).Association("Manager").Append(manager); err != nil { t.Fatalf("Error happened when append Manager, got %v", err) } if manager.ID == 0 { t.Fatalf("Manager's ID should be created") } user.Company = company user.Manager = manager user.CompanyID = &company.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)