Transform value after reading from DB (e.g., decrypt). Row reads pass the
row's primary-key value as rowId so a read failure can name the record
(single-column reads via readColumn may omit it).
Type
((
v: T,
rowId?: unknown,
) => Promise<T> | T) | undefined
Usage
import { type ColumnDef } from "docs/database.ts";