I\'m trying to explain a mongoDB update; but nothing is happening? Does Mongo not support this?
> db.movies.update({\"actors.name\": \"Christian Bale\"},
I believe the following will allow you to call explain on your query.
db.movies.explain().update({your_query})
Hope this helps, if you need more info let me know.
Why do you want to call explain on update? AFAIK, explain will show you how your query will fetch the rows, so you could simply do:
db.movies.find(
{$query: {"actors.name": "Christian Bale"}},
{$explain: 1}
);