nikolaymetchev
04/06/2017, 11:50 AMfun sql(colb : Int?) = "SELECT * FROM TABLE WHERE A=3 ${colb?.let {" AND B=$it"}.orEmpty()}"
voddan
04/06/2017, 4:44 PMnikolaymetchev
04/06/2017, 4:47 PMvoddan
04/06/2017, 9:32 PMStringBuilder
in place of +
operations on strings+
and string templates however you like and allow the compiler to do the optimizations 😄nikolaymetchev
04/07/2017, 10:04 AM