# dropDatabase

suspend fun dropDatabase(vararg databases: String, inBatch: Boolean = false)

Drops databases

#### Parameters

databases

the names of the databases

inBatch

flag to perform database creation in a single batch

For PostgreSQL, calls to this function should be preceded by connection().setAutoCommit(true), and followed by connection().setAutoCommit(false).

#### See also

org.jetbrains.exposed.v1.r2dbc.sql.tests.shared.ddl.CreateDatabaseTest