Commit 74d8c5b6 authored by andreagerino's avatar andreagerino

Adding explorations endpoint

parent 60e8ca8a
......@@ -273,9 +273,11 @@ router.get('/explorations/hpbylevel', function(req, res, next) {
// Stage 3
{
"_id": 1,
"explorations": 1,
"hp_ratio": {$divide:["$with_hp","$explorations"]}
$project: {
"_id": 1,
"explorations": 1,
"hp_ratio": {$divide:["$with_hp","$explorations"]}
}
},
// Stage 4
......
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