Commit 09e51d5b authored by Venkaiah Naidu Singamchetty's avatar Venkaiah Naidu Singamchetty

Merge branch 'feture/get-activities' into 'master'

getActivities avg Changes

See merge request !78
parents 255fc7ee 2d4921d9
......@@ -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