- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for CheckIndices (0.06 seconds)
-
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 }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Dec 06 02:27:44 GMT 2024 - 7.9K bytes - Click Count (0)