All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.komapper.dialect.mariadb.r2dbc.MariaDbR2dbcDialectFactory.kt Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package org.komapper.dialect.mariadb.r2dbc

import org.komapper.dialect.mariadb.MariaDbDialect
import org.komapper.r2dbc.R2dbcDialect
import org.komapper.r2dbc.spi.R2dbcDialectFactory

class MariaDbR2dbcDialectFactory : R2dbcDialectFactory {
    override fun supports(driver: String): Boolean {
        return driver.lowercase() == MariaDbDialect.driver
    }

    override fun create(): R2dbcDialect {
        return MariaDbR2dbcDialect()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy