Database

[{}]

Query

db.collection.aggregate([{"$set":{"a.b":"$$REMOVE"}}])

Result