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.
1 parent f67f212 commit 47c0b92Copy full SHA for 47c0b92
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