Database

[{"key":1,"amount":1}]

Query

db.collection.update({"key":1},{$push:{example:{foo:"$amount"}}})

Result