技术坑
mongodb批量修改数组下元素某个字段值
mtsym 发表于2018-08-31 浏览7868 评论0
mongodb批量修改数组下元素某个字段
例如下面的数据,如果想把alias为ooo的des都改成haha
{
"name": "test",
"items": [
{
"id": 1,
"content": {
"cid": "123",
"des": "hello",
"<!--autointro-->