【mongo】常用mongo语句用法

  • 去除数组里面的特定值
    db.collection.updateMany({profile_column_list:"project_name"}, {$pull:{profile_column_list:{$in:["project_name", "status_str"]}}})
posted @ 2020-08-04 13:39  Flint99  阅读(125)  评论(0)    收藏  举报