- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CheckIndices (0.05 sec)
-
schema/index_test.go
Class: "UNIQUE", Fields: []schema.IndexOption{ {Field: &schema.Field{Name: "FieldH1", Unique: true}}, {Field: &schema.Field{Name: "FieldH2"}}, }, }, } CheckIndices(t, expectedIndices, indices) } func CheckIndices(t *testing.T, expected, actual []*schema.Index) { if len(expected) != len(actual) { t.Errorf("expected %d indices, but got %d", len(expected), len(actual)) return }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 06 02:27:44 UTC 2024 - 7.9K bytes - Viewed (0)