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