Lab - $group and Accumulators - which db?

Hi,

I am currently on : Lab - $group and Accumulators

Although I haven’t yet added the standard deviation yet, I can already see some of the values for other fields are not correct for the answer.

Could you confirm using the right database, or tell me which one I should be using.

I am using
mongo mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0 --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

If I am using the right DB, then what sort of things could be tripping me up?

Many thanks in advance
Russell

Yes you are at the right place.

Thank you, appreciated.

I don’t know what type of field is awards?

HI @ANGELA_CABALLERO_ARROYO,
The awards field is of type string.
Here is an example of the awards field:

awards: '1 win.',

If you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
MongoDB

1 Like

The best way when you are unsure is to check with Compass Analyze Shema tool.

One question,which field does aggrupate the summary of the ratings?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.