Using the sample_training.routes collection find out which of the following statements will return all routes that have at least one stop in them?
db.routes.find({ “stops”: { “$lt”: 10 }}).pretty()
db.routes.find({ “stops”: { “$gt”: 0 }}).pretty()
db.routes.find({ “stops”: { “$ne”: 0 }}).pretty()
db.routes.find({ “stops”: { “$gte”: 0 }}).pretty()
Answer should be all of the above, but the here it says option 2 and 3 only
i have ran all query in IDE and indeed it shows output >=1