MCPcopy
hub / github.com/go-gorm/gorm / HasIndex

Method HasIndex

migrator.go:108–108  ·  view source on GitHub ↗
(dst interface{}, name string)

Source from the content-addressed store, hash-verified

106 CreateIndex(dst interface{}, name string) error
107 DropIndex(dst interface{}, name string) error
108 HasIndex(dst interface{}, name string) bool
109 RenameIndex(dst interface{}, oldName, newName string) error
110 GetIndexes(dst interface{}) ([]Index, error)
111}

Callers 7

AutoMigrateMethod · 0.65
TestMigrateIndexesFunction · 0.65
TestCurrentTimestampFunction · 0.65
TestUniqueColumnFunction · 0.65

Implementers 1

Migratormigrator/migrator.go

Calls

no outgoing calls

Tested by 6

TestMigrateIndexesFunction · 0.52
TestCurrentTimestampFunction · 0.52
TestUniqueColumnFunction · 0.52