Skip to content
Exercise · MongoDB: Documents, Queries, Embed or Reference · lesson 7 of 12

Exercise: reviews to answer

The coffee shop's moderator answers reviews without a rating and reviews with a low rating first. Write a query on the reviews collection that finds the reviews where rating is null, the rating field is missing, or the rating is at most 2.