# createDatabase

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

Creates 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.sql.tests.shared.ddl.CreateDatabaseTest