I want to write the following query using mongo template.
db.collection.aggregate([ { $project: { classes: { $map: { input: "$c