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

Spatial Query #85

Open
awcoats opened this issue Nov 23, 2011 · 1 comment
Open

Spatial Query #85

awcoats opened this issue Nov 23, 2011 · 1 comment

Comments

@awcoats
Copy link

awcoats commented Nov 23, 2011

How would I write in C# the following query?

db.Reports.find({"Loc" : {'$within' : { '$box': [[40.73083, -73.99756], [40.741404, -73.988135]] }}})

I looked in the tests and did not see any queries using the spatial index.

Andrew

@baio
Copy link

baio commented Feb 16, 2012

Try this
https://groups.google.com/forum/?fromgroups#!topic/norm-mongodb/9mI2Uv_JY4Y, but can't find the way to query nested properties !

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

2 participants