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