What is wrong in this query

Using Cursor-like Stages

	[ < deleted >]

Why I am getting title of the 25th film as “The Ref” instead of what I expected.


You must retain the “tomatoes.viewer.rating” field in the $project stage to use it in the $sort stage.

1 Like

To my mind, the calculating of num_favs is a little wrong

@alexsvk can you please explain a little bit, what I am doing wrong here…
That would be really helpful

Thanks @Rafael_78232, it worked :slight_smile:


Please follow Forum guidelines and do not post code or answers in the Forum. I have edited your post to remove those. Thanks.

Oh sorry for that, I will keep in mind