drop_database#
- async safir.database.drop_database(engine, schema)#
Drop all tables from the database.
- Parameters:
engine (
AsyncEngine
) – Engine to use to issue the SQL commands.schema (
MetaData
) – Database ORM schema.
- Return type:
Drop all tables from the database.
engine (AsyncEngine
) – Engine to use to issue the SQL commands.
schema (MetaData
) – Database ORM schema.