2016-09-14 28 views

回答

0

Got it!

db.comments.remove({ _id: { $nin : db.articles.runCommand({distinct: "distinct", key: "_id"}).values}})