mongodb update更新操做

非主键更新 db.getCollection("PAYBILL").find({"CREATE_TIME" : {$gte:"2019-06-02:01:19:39",$lte:"2019-06-04:01:19:39"}}).forEach(function(x){ db.getCollection("PAYBILL").updateMany({SORT_ID:x.SORT_ID}, {$s
相关文章
相关标签/搜索