Sorry jongens, dat was dom:
(...)
$group: {
_id : { dType : "$departments.deptType",
dName : "$departments.deptName"
},
dCount: { $sum: 1 },
}
(...)
Sorry jongens, dat was dom:
(...)
$group: {
_id : { dType : "$departments.deptType",
dName : "$departments.deptName"
},
dCount: { $sum: 1 },
}
(...)