- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestParseIndex (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
schema/index_test.go
CompIdxLevel2B Data2C string `gorm:"index:,unique,composite:comp_id2,priority:1"` } type CompIdxLevel2B struct { Data2B string `gorm:"index:,unique,composite:comp_id2,priority:3"` } func TestParseIndex(t *testing.T) { user, err := schema.Parse(&UserIndex{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user index, got error %v", err) } results := []*schema.Index{ {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)