I am trying to explain the mongoDB update; but nothing happens? Mongo does not support this?
> db.movies.update({"actors.name": "Christian Bale"}, {$set: {"actors.$.name": "Christina Bale"}}, {$explain: 1}); >
I tried other options using .explain() and ._addSpecial("$explain", 1") . In both cases, the following error occurs:
Thu Aug 1 11: 26: 46.368 JavaScript execution failed: TypeError: Unable to invoke explain method undefined
source share