unaryPlus

abstract operator fun String.unaryPlus()(source)

Adds a SQL fragment to the statement being built. Operator shorthand for add.

Due to the Kotlin compiler plugin, every value interpolated into the receiver string is expanded into a named placeholder and bound as a parameter.

+"SELECT * FROM users WHERE user_id = $userId"