I have this Collection in mongodb
{ \"_id\" : \"777\", \"someKey\" : \"someValue\", \"someArray\" : [ { \"name\" : \"name1\", \"someNeste
You can also try something like below:
db.collection.aggregate( { $unwind: '$someArray' }, { $project: { 'filteredValue': { $filter: { input: "$someArray.someNestedArray", as: "someObj", cond: { $eq: [ '$$someObj.name', 'delete me' ] } } } } } )