- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for modello (0.15 sec)
-
tests/query_test.go
var models2 [3]User if err := DB.Where("name in (?)", []string{"find"}).Find(&models2).Error; err != nil { t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models2)) } else { for idx, user := range users { t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) { CheckUser(t, models2[idx], user) }) } } // test smaller array var models3 [2]User
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0)