DropTable drops a given table from the database
(name string)
| 96 | |
| 97 | // DropTable drops a given table from the database |
| 98 | func (mdb *db) DropTable(name string) error { |
| 99 | return mdb.Exec(fmt.Sprintf(dropTableQuery, name)) |
| 100 | } |
| 101 | |
| 102 | // DropAllTables drops all tables from this database |
| 103 | func (mdb *db) DropAllTables(database string) error { |