toField

abstract fun <T> toField(kType: KType, params: Map<String, Any?> = emptyMap(), onResult: (DataResult<T>) -> Unit): Job

Asynchronously fetches a single value from the first column and passes the result to the onResult callback.