- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConcurrentMany2ManyAssociation (0.15 sec)
-
tests/associations_many2many_test.go
var findUser2 User err = DB.Preload("Languages").Where("id = ?", user2.ID).First(&findUser2).Error AssertEqual(t, nil, err) AssertEqual(t, user2, findUser2) } func TestConcurrentMany2ManyAssociation(t *testing.T) { db, err := OpenTestConnection(&gorm.Config{}) if err != nil { t.Fatalf("open test connection failed, err: %+v", err) } count := 3 var languages []Language
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0)