Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for GetIndexes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. migrator.go

    	// Indexes
    	CreateIndex(dst interface{}, name string) error
    	DropIndex(dst interface{}, name string) error
    	HasIndex(dst interface{}, name string) bool
    	RenameIndex(dst interface{}, oldName, newName string) error
    	GetIndexes(dst interface{}) ([]Index, error)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  2. tests/migrate_test.go

    		}
    	}
    
    	checkIndex := func(t *testing.T, expected []gorm.Index) {
    		indexes, err := DB.Migrator().GetIndexes(table)
    		if err != nil {
    			t.Fatalf("%v: failed to get indexes, got error: %v", utils.FileWithLineNum(), err)
    		}
    		assert.ElementsMatch(t, expected, indexes)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
Back to Top