mongodb - map immutable record constructor - adhoc example

adhoc example