Open alne4294 opened 9 years ago
db.business.find({'city': 'Las Vegas', 'attributes': {'Price Range': 2}} , {}).sort({'stars':-1}).limit(1).pretty()
This shows the number one rated place (highest rating is 5 stars with the highest number of reviews) with a price range of "2".
db.business.find( { stars: {$gt: 4} , "attributes.Price Range":2} )