Database

class Database(log: Logger, monitor: Events, configuration: Database.Configuration)

Plugin that opens a database connection on application start, and closes it on application stop.

Constructors

Link copied to clipboard
fun Database(log: Logger, monitor: Events, configuration: Database.Configuration)

Types

Link copied to clipboard
class Configuration
Link copied to clipboard
object Plugin : ApplicationPlugin<Application, Database.Configuration, Database>

Properties

Link copied to clipboard
var instance: Database

Sources

Link copied to clipboard