You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
I am trying a query composed of a geo point and comparing date but the results seems that it is ignoring the date part of the where. Is it correct the way the query is performed?
Could you provide some samples comparing against dates using query contraints like: $gte, $in, etc.
I am trying a query composed of a geo point and comparing date but the results seems that it is ignoring the date part of the where. Is it correct the way the query is performed?
Could you provide some samples comparing against dates using query contraints like: $gte, $in, etc.
Here my code snippet:
$params = array(
'className' => 'xx',
'query' => array(
'geo' => array(
'$nearSphere' => array(
'__type'=> 'GeoPoint', 'latitude' => 25.727409, 'longitude' => -80.306389),
'$maxDistanceInKilometers' => 1)),
//where
'createdAt'=> array(
'$gte' => '2012-04-24T01:02:52.249Z'),
'order' => 'bizName',
'limit' => 10);
$request = $parse->query($params);
Thanks
The text was updated successfully, but these errors were encountered: