def drop(self): '''Drops the table from the database Arguments: name - name of the table to be dropped Usage: db.dropTable("users") returns an ExecutionCursor object''' query = SQLString.dropTable(self.name) return self.execute(query)
def dropTable(self, name): '''Drops a table from the database see Table.drop for further reference''' query = SQLString.dropTable(name) return self.execute(query)