Dominick
04/28/2021, 3:24 AMdave08
04/28/2021, 10:48 AMNote: Starting Exposed 0.10 executing this code more than once per db will create leaks in your application, hence it is recommended to store it for later use. For example:
object DbSettings {
val db by lazy {
Database.connect(/* setup connection */)
}
}