摘要: 语法: db.order.find({"saleprice":{$type:2}}).forEach(function(x){x.saleprice=parseFloat(x.saleprice);db.order.save(x)}) ( find().里为数据对应的类型,2表示str。也可以不写 阅读全文
posted @ 2019-04-11 18:35 X小白的逆袭之旅 阅读(443) 评论(0) 推荐(0)