Settings

Theme

Sqlx4k – first stable release of a high-performance, DB driver for Kotlin

github.com

1 points by smyrgeorge 4 months ago · 1 comment

Reader

smyrgeorgeOP 4 months ago

Hey Kotlin folks! I’m excited to share the first stable release of sqlx4k — a high-performance, non-blocking database driver for Kotlin Multiplatform.

What it is:

A Kotlin-first, async driver for PostgreSQL, MySQL, and SQLite

Works across JVM and native targets (macOS, Linux, Windows, iOS, Android NDK)

Built for coroutines and modern, scalable apps

You can check it out here: https://github.com/smyrgeorge/sqlx4k

Highlights:

Async I/O with connection pooling

Prepared statements (named and positional)

Row mappers

Transactions + coroutine-friendly TransactionContext

Code generation (CRUD and @Repository with KSP)

Database migrations

PostgreSQL LISTEN/NOTIFY

SQLDelight integration

Supported targets:

JVM (PostgreSQL and MySQL on JVM today)

iosArm64, androidNativeX64/Arm64, macosArm64/X64, linuxArm64/X64, mingwX64

wasmWasi is being explored

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection