Apply a map of per-key transformations to an object, returning a new object with the transformed values.
Keys not present in mappers are copied through unchanged. Keys present in mappers are passed through mapValue.
mappers
The source object (e.g. a raw database row).
A Record mapping property keys to mapper functions or MAPPERS built-in names.
Record
A shallow copy of obj with the specified values transformed.
obj
If obj is null or a non-object, it is returned as-is.
null
Apply a map of per-key transformations to an object, returning a new object with the transformed values.
Keys not present in
mappersare copied through unchanged. Keys present inmappersare passed through mapValue.