We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f67f212 + 47c0b92 commit c65d512Copy full SHA for c65d512
articles/cosmos-db/geospatial.md
@@ -249,7 +249,7 @@ Here's an example of a LINQ query that finds all documents in the Azure Cosmos D
249
**LINQ query for Distance**
250
251
foreach (UserProfile user in client.CreateDocumentQuery<UserProfile>(UriFactory.CreateDocumentCollectionUri("db", "profiles"))
252
- .Where(u => u.ProfileType == "Public" && a.Location.Distance(new Point(32.33, -4.66)) < 30000))
+ .Where(u => u.ProfileType == "Public" && u.Location.Distance(new Point(32.33, -4.66)) < 30000))
253
{
254
Console.WriteLine("\t" + user);
255
}
0 commit comments