It is implemented for those who like to write SQL directly. Using the Kotlin compiler plugin, I achieve binding parameters using string interpolation. |
It is implemented for those who like to write SQL directly. Using the Kotlin compiler plugin, I achieve binding parameters using string interpolation. |
``` 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?