Hi,
I’m fiddling around the movies collection with $bucket in Compass.
Compass throws a “Expected “[” or AggregationStage but “{” found” error right away when I delete the placeholder <> value in the groupBy clause to replace it with “$imdb.rating”.
The error stays even when I cancel my typing and get the <> placeholder back.
Any clues as to why that is ? Is it a Compass bug ?
This $bucket stage works perfectly fine in the Mongo Shell so that’s really puzzling.
Thanks !
Franck