parse-community / parse-php-sdk

The PHP SDK for Parse Platform
https://parseplatform.org/
Other
811 stars 346 forks source link

How to use $ geoNear with aggregate؟ #434

Closed eslam2010011 closed 5 years ago

eslam2010011 commented 5 years ago

Issue Description

my code image

Steps to reproduce

~~ Please provide the necessary steps here to reproduce this when possible ~~

Environment Details

Logs/Traces

~~ Include any relevant logs/traces here ~~

dplewis commented 5 years ago

Closing as this isn't an issue. From the mongo docs, near takes a GeoJSON point or legacy coordinate pair. Not a ParseGeoPoint as geopoints aren't currently converted to those types.