A partire da Mongo 3.2, puoi fare:
db.test3.explain().distinct("id", {key: "value"})
https://docs.mongodb.org/manual/reference/ metodo/db.collection.explain/
A partire da Mongo 3.2, puoi fare:
db.test3.explain().distinct("id", {key: "value"})
https://docs.mongodb.org/manual/reference/ metodo/db.collection.explain/