Código
db.artigos.find({categorias: "Programação"}).explain("executionStatus")
Erro
uncaught exception: Error: explain failed: {
"ok" : 0,
"errmsg" : "Enumeration value 'executionStatus' for field 'explain.verbosity' is not a valid value.",
"code" : 2,
"codeName" : "BadValue"
} :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
throwOrReturn@src/mongo/shell/explainable.js:25:19
constructor/this.finish@src/mongo/shell/explain_query.js:176:24
DBQuery.prototype.explain@src/mongo/shell/query.js:534:12
@(shell):1:1