Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CheckIndices (0.06 sec)

  1. schema/index_test.go

    			Fields: []schema.IndexOption{{
    				Field: &schema.Field{Name: "Data2C"},
    			}, {
    				Field: &schema.Field{Name: "Data2A"},
    			}, {
    				Field: &schema.Field{Name: "Data2B"},
    			}},
    		},
    	}
    
    	CheckIndices(t, results, user.ParseIndexes())
    }
    
    func TestParseIndexWithUniqueIndexAndUnique(t *testing.T) {
    	type IndexTest struct {
    		FieldA string `gorm:"unique;index"` // unique and index
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top