DropTable drops a given table from the database
(name string)
| 76 | |
| 77 | // DropTable drops a given table from the database |
| 78 | func (mdb *db) DropTable(name string) error { |
| 79 | return mdb.Exec(fmt.Sprintf(dropTableQuery, name)) |
| 80 | } |
| 81 | |
| 82 | // DropAllTables drops all tables from this database |
| 83 | func (mdb *db) DropAllTables(database string) error { |