Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for priority (0.24 sec)

  1. schema/index_test.go

    	// Composite Index: Nested structure.
    	Data1A string `gorm:"index:,composite:comp_id1"`
    	CompIdxLevel1C
    
    	// Composite Index: Unique and priority.
    	Data2A string `gorm:"index:,unique,composite:comp_id2,priority:2"`
    	CompIdxLevel2C
    }
    
    type CompIdxLevel1C struct {
    	CompIdxLevel1B
    	Data1C string `gorm:"index:,composite:comp_id1"`
    }
    
    type CompIdxLevel1B struct {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top