MCPcopy Index your code
hub / github.com/apache/devlake / HasTable

Method HasTable

backend/impls/dalgorm/dalgorm.go:421–423  ·  view source on GitHub ↗

HasTable checks if table exists

(table interface{})

Source from the content-addressed store, hash-verified

419
420// HasTable checks if table exists
421func (d *Dalgorm) HasTable(table interface{}) bool {
422 return d.db.Migrator().HasTable(table)
423}
424
425// HasColumn checks if column exists
426func (d *Dalgorm) HasColumn(table interface{}, columnName string) bool {

Callers

nothing calls this directly

Calls 1

HasTableMethod · 0.65

Tested by

no test coverage detected