commonMain.kotlinx.dbc.mariadb.MariaDBDriver.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktdbc-mariadb-js Show documentation
Show all versions of ktdbc-mariadb-js Show documentation
Kotlin Multiplatform library with Database interfaces
The newest version!
package kotlinx.dbc.mariadb
import kotlinx.dbc.Connection
import kotlinx.dbc.Driver
import kotlinx.dbc.DriverManager
object MariaDBDriver: Driver {
override val name: String = "mariadb"
override val version: IntArray = intArrayOf(1, 0, 0)
override fun connect(params: HashMap): Connection = DriverImpl.connect(params)
init {
DriverManager.register(MariaDBDriver)
}
}