lookupInReadValues

fun <T, R : Any> Column<T>.lookupInReadValues(found: (T?) -> R?, notFound: () -> R?): R?

Checks if this column has been assigned a value retrieved from the database, then calls the found block with this value as its argument, and returns its result.

If a column-value mapping has not been retrieved, the result of calling the notFound block is returned instead.