AbstractSQLRepository

abstract class AbstractSQLRepository

Abstract class to be extended by SQL repositories that need to connect to a database.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun close()

Close the connection to the database.

Link copied to clipboard
fun connect(host: String, port: String, database: String, username: String, password: String)

Connect to a database.