Function drop_postgres

Source
pub async fn drop_postgres(pg: &PgPool, database: String) -> Result<()>
Expand description

Drops the Postgres database with the given name using the provided connection pool.

§Errors

Returns an error if the DROP DATABASE command fails.