Commit 2d4921d9 authored by =sankoju Ravi's avatar =sankoju Ravi

getActivities avg Changes

parent 3fad3085
......@@ -373,6 +373,17 @@ app.post("/getActivities-avg", async(req, res) => {
}
});
aggreGate.push({
$project:{
"type":"$_id",
"avgScore":1
}
});
aggreGate.push({
$unset:"_id"
});
db.collection("performance_master")
.aggregate(aggreGate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment