# dropDatabase

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.autoCommit = true, and followed by connection.autoCommit = false.

#### See also

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