Lab - $group and Accumulators - which db?


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://,, --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

Yes you are at the right place.

Thank you, appreciated.

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

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,

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.