mongodb查询表里某字段,进行字符串截取与更新update()方法用于更新已存在的文档。语法格式如下:<pre<codedb.collection.update(<query>,<update>,{upsert:<boolea