JUtupe / ktor-exposed

Ktor Exposed database feature.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ktor-exposed

Ktor Exposed database feature.

    install(Exposed) {
        connectWithConfig(DatabaseConfiguration(
            "jdbc:mysql://localhost:3306/<database_name_here>",
            "com.mysql.jdbc.Driver",
            "username",
            "password"
        ))

        createSchemas(
            Users
        )
    }

About

Ktor Exposed database feature.


Languages

Language:HTML 61.3%Language:JavaScript 18.8%Language:CSS 13.5%Language:Kotlin 6.3%