文檔結構如下{ name: 4, list: [{ id: "a", date: 1504195200000, other: "c" },{ id: "b", date: 1504195200000, other: "c" }]}匹配name, list[id]、list[date],只更新匹配list中的元素,否則創建文檔并添加新的值到list數組中
添加回答
舉報
0/150
提交
取消