dbbase.DB.drop_all

DB.drop_all(tables=None, checkfirst=True, echo=False)[source]

Drop all tables and sequences.

This function drops tables.

Default:

drop_all(self, tables=None, checkfirst=True, echo=False)

Parameters
  • tables – (None | list) : An optional list of tables, rather than all

  • checkfirst – (bool) : Can verify the existence prior to attempting the drop

  • echo – (bool : str) : logs interactions with engine to INFO. defaults to False. echo can also be “debug” for more detail.