doUpdate

fun doUpdate(setExpression: String, whereCondition: String? = null)

Updates the existing row. setExpression is the SET body as SQL, in which excluded is the row that could not be inserted: doUpdate("cognomen = excluded.cognomen, updated_at = now()"). whereCondition limits which conflicting rows are updated.


fun doUpdate(vararg setPairs: Pair<String, String>, whereCondition: String? = null)

As doUpdate, with the assignments given as column-to-expression pairs.


fun doUpdate(setMap: Map<String, String>, whereCondition: String? = null)

As doUpdate, with the assignments given as a column-to-expression map.