Companion

object Companion

It contains constants related to different database modes.

The mode value is used in the extractDBTypeFromConnection function to determine the corresponding DbType for the H2 database connection URL. For example, if the URL contains the mode value "MySQL", the H2 instance with the MySQL database type is returned. Otherwise, the DbType is determined based on the URL without the mode value.

See also

Properties

Link copied to clipboard
const val MODE_MARIADB: String
Link copied to clipboard
Link copied to clipboard
const val MODE_MYSQL: String
Link copied to clipboard