connectToDatabase

open fun connectToDatabase(config: DatabaseConfig)

Connect to a database.

Parameters

config

The DatabaseConfig with all important values for the connection.