add

abstract fun add(sql: String)(source)

Adds a SQL fragment to the statement being built.

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

add("SELECT * FROM users WHERE user_id = $userId")