Find by comparison operators lab not returning expected values

In the labs teaching queries using comparison operators pasting in the solved code does not return documents that pass the comparison. As an example I’ve attached a sample input asking for items with quantities greater than ten and a sample of its output. Here is a link to the specific lab. Please let me know why this is occurring.

Here is an ugly snippet of a sample input and output because this godforsaken forum only allows for ONE media upload for new users.

Hi Phoenix,

Thanks for reaching out!

The query returns the documents that has at least 1 item with a quantity of 10 or above. items being a list, if one of the entries matches the criteria, the document will be returned.

The document in the screenshot matches the criteria.

1 Like

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