yandex
loader

please wait

  • Jasmin Bhasin Mar-11-2019 12:46:17 PM ( 2 months ago )

     

    I want to list id's where it only has 12 - 18 reviews.

    In the database it shows as

    **"example" : [
    5,
    10
    ],**

    The 5, 10 is the number of reviews so 5 meaning 5 reviews out of 10 views.

    I have tried the below however doesn't work.

    db.student.find({ u1 : { $gt :  5, $lt : 10}});

    any help guys?

Please login

Similar Discussion

Recommended For You