mongodb進階

1.首先推薦一個好用的工具 下載鏈接:robot 3T.(接受打賞) 2.進入正題。聚合查詢再回顧: /* 查詢並統計重複的books下的 units */ var c = db.units.aggregate( [ //{ $match: { book: "09060101-001" } }, //查找條件,查詢指定條件的章節 { $group: { _i
相關文章
相關標籤/搜索