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

Method HasTable

migrator.go:80–80  ·  view source on GitHub ↗
(dst interface{})

Source from the content-addressed store, hash-verified

78 CreateTable(dst ...interface{}) error
79 DropTable(dst ...interface{}) error
80 HasTable(dst interface{}) bool
81 RenameTable(oldName, newName interface{}) error
82 GetTables() (tableList []string, err error)
83 TableType(dst interface{}) (TableType, error)

Callers 6

AutoMigrateMethod · 0.65
TestMigrateFunction · 0.65
TestMigrateTableFunction · 0.65
RunMigrationsFunction · 0.65

Implementers 1

Migratormigrator/migrator.go

Calls

no outgoing calls

Tested by 5

TestMigrateFunction · 0.52
TestMigrateTableFunction · 0.52
RunMigrationsFunction · 0.52