Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the top-rated business for a price range of "2"? #7

Open
alne4294 opened this issue Oct 28, 2014 · 2 comments
Open

What is the top-rated business for a price range of "2"? #7

alne4294 opened this issue Oct 28, 2014 · 2 comments

Comments

@alne4294
Copy link

No description provided.

@peymanmortazavi
Copy link

db.business.find( { stars: {$gt: 4} , "attributes.Price Range":2} )

@indiesquidge
Copy link

testing

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants