Please help, tell me where is mistake in this query?

{ 'results' : { $in: [ { $gte : 70}, { $lte : 80 } ] } }

If you want ‘results’ to be between 70 and 80 then try this:

{‘results’: { ‘$gte’: 70, ‘$lte’: 80 } } (I just use quotations anyway, might not be required)

From what I understand, $in is used to match data among an array of values.
So, for using $in you have to write an array consisting of all the values from 70 to 80.

I see, so I shouldn’t put $in. Thanks