Mongodb 字段类型转换时间:2023-03-09 07:09:17 db.diningmembers.find({modifedDate:{$type:9}}).forEach(function(x){x.tel = String(x.tel);db.diningmembers.save(x)}); http://www.linxh.blog.chinaunix.net/uid-15795819-id-3873422.html