<@U3669PPNG> commented on <@U5GEN6J48>’s file <htt...
# getting-started
u
@nkiesel commented on @sandeep’s file https://kotlinlang.slack.com/files/U5GEN6J48/F5K3VLSAV/any_better_way_to_do_this_.kt: I would combine the string and the params in a single class. then you could do
Copy code
val sql = SQLBuilder("select a from b")
if (groupNumber != null) {
  sql.append("where gn=?", groupnumber)
}
return sql.execute(connection)