TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Show HN: A Kotlin/JVM database client for those who want to write SQL
2 points
by
be-hase
11 months ago
It is implemented for those who like to write SQL directly. Using the Kotlin compiler plugin, I achieve binding parameters using string interpolation.
1 comment
ttymck
11 months ago
In the example<p>``` status = $status """ if (vip != null) { +"vip = $vip" } ```<p>Does that concatentation automatically add the "AND" to combine the where clauses? How does it know the vip bit is a where clause?