customResultTypeFunction

The exposed query method which returns a provided custom type.

fun <T> selectForId(id, mapper: (column1: String) -> T): Query<T>