Alexander Ioffe
04/29/2025, 12:41 PMeq
or Case().when
.
• Use Regular Kotlin: ==
, if
, when
, Elvis operators—write SQL like you write Kotlin.
• Cross-Platform Power: JVM, Native iOS, Android, Linux, Windows, MacOS, and more!
• Composable & Functional: Build complex queries with ease.
💡 Example Query:
capture.select {
val p = from(people)
val a = join(addresses) { a -> a.owner == p.id }
p.name to a.street
}
//> SELECT p.name, a.street FROM Person p
// JOIN addresses a ON a.owner == p.id
🔥*Why Wait?*
Write less boilerplate, get more done, and have fun doing it. Try ExoQuery today! 👉 GitHubPiotr Krzemiński
04/29/2025, 1:49 PMrocketraman
04/29/2025, 2:11 PMAlexander Ioffe
04/29/2025, 2:20 PMAlexander Ioffe
04/29/2025, 2:20 PMsuresh
05/01/2025, 1:22 AMAlexander Ioffe
05/01/2025, 4:03 AMsuresh
05/01/2025, 4:06 AMAlexander Ioffe
05/01/2025, 4:55 AMcapture {
insert {
set(name to …).onConflictUpdate(id, …) { excluded -> set(name to excluded.name, …) }
}
}