parse-community/parse-php-sdk

How to use $ geoNear with aggregate؟

eslam2010011 opened this issue · 1 comments

Issue Description

my code
image

Steps to reproduce

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

Environment Details

  • Your PHP Version: [1.5.1]
  • Your Parse PHP SDK Version: [3.1.3]
  • Your Operating System: [your OS here]
  • VM (only if you're running something like HHVM): PHP

Logs/Traces

~~ Include any relevant logs/traces here ~~

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.