Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Drop all tables stored in this metadata.

Conditional by default, will not attempt to drop tables not present in
the target database.

:param bind:
  A :class:`.Connectable` used to access the
  database; if None, uses the existing bind on this ``MetaData``, if
  any.
(more...)

src/m/d/mdemos.server-1.0.1dev/mdemos/server/tests/__init__.py   mdemos.server(Download)
def teardown_db():
    """Method used to destroy a database"""
    engine = config['pylons.app_globals'].sa_engine
    model.metadata.drop_all(engine)