-- 查询字段不存在 db.collection.find({"field":{$exists:FALSE}}); -- 查询字段存在 db.collection.find({"field":{$exists:TRUE}}); -- 删除字段 Docs db.collection.updateMany({"field":{$exists:TRUE}},{$unset:{"field":1}});