
High-performance, non-blocking database driver for PostgreSQL and MySQL enhances cross-platform application development. Focuses on integration with sqldelight for efficient data management.
A coroutine-first SQL toolkit with compile-time query validations for Kotlin Multiplatform. PostgreSQL, MySQL, and SQLite supported.
This repository only contains the necessary parts for the sqldelight integration.
If you are looking the driver implementation, you can find it here: https://github.com/smyrgeorge/sqlx4k
π Documentation
π Homepage (under construction)
Only PostgreSQL and MySQL is supported for now.
// build.gradle.kts
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("io.github.smyrgeorge:sqlx4k-postgres:x.y.z")
implementation("io.github.smyrgeorge:sqlx4k-sqldelight:x.y.z")
}
}
}
}
sqldelight {
databases.register("Database") {
generateAsync = true
packageName = "db.entities"
dialect("io.github.smyrgeorge:sqlx4k-sqldelight-dialect-postgres:x.y.z")
// Or 'io.github.smyrgeorge:sqlx4k-sqldelight-dialect-mysql:x.y.z' for MySQl.
}
}Check the examples for more information.
We support the following targets:
A coroutine-first SQL toolkit with compile-time query validations for Kotlin Multiplatform. PostgreSQL, MySQL, and SQLite supported.
This repository only contains the necessary parts for the sqldelight integration.
If you are looking the driver implementation, you can find it here: https://github.com/smyrgeorge/sqlx4k
π Documentation
π Homepage (under construction)
Only PostgreSQL and MySQL is supported for now.
// build.gradle.kts
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("io.github.smyrgeorge:sqlx4k-postgres:x.y.z")
implementation("io.github.smyrgeorge:sqlx4k-sqldelight:x.y.z")
}
}
}
}
sqldelight {
databases.register("Database") {
generateAsync = true
packageName = "db.entities"
dialect("io.github.smyrgeorge:sqlx4k-sqldelight-dialect-postgres:x.y.z")
// Or 'io.github.smyrgeorge:sqlx4k-sqldelight-dialect-mysql:x.y.z' for MySQl.
}
}Check the examples for more information.
We support the following targets: