Settings

Theme

Show HN: A Kotlin/JVM database client for those who want to write SQL

github.com

2 points by be-hase 2 years ago · 1 comment · 1 min read

Reader

It is implemented for those who like to write SQL directly. Using the Kotlin compiler plugin, I achieve binding parameters using string interpolation.

ttymck 2 years ago

In the example

``` status = $status """ if (vip != null) { +"vip = $vip" } ```

Does that concatentation automatically add the "AND" to combine the where clauses? How does it know the vip bit is a where clause?

Keyboard Shortcuts

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