Skip to content

Commit c65d512

Browse files
authored
Merge pull request #78534 from KalyanChanumolu-MSFT/patch-3
(AzureCXP) MicrosoftDocs/azure-docs#32556
2 parents f67f212 + 47c0b92 commit c65d512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/geospatial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Here's an example of a LINQ query that finds all documents in the Azure Cosmos D
249249
**LINQ query for Distance**
250250

251251
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))
252+
.Where(u => u.ProfileType == "Public" && u.Location.Distance(new Point(32.33, -4.66)) < 30000))
253253
{
254254
Console.WriteLine("\t" + user);
255255
}

0 commit comments

Comments
 (0)