-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Hi,
is it possible to do aggregate query using match
with pointer relation ?
I'm using latest branch version.
for instance request like this:
curl -X GET \
-H "X-Parse-Application-Id: myAppId" \
-H "X-Parse-Master-Key: myAppKey" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-G \
--data-urlencode 'match={"user":{"$eq":{"__type":"Pointer","className":"_User","objectId":"NE962BXR9x"}}}' \
--data-urlencode 'group={"objectId":null,"total":{"$sum":"$value"}}' \
http://localhost:1337/parse/aggregate/Distance
the Distance collection have a field calls 'user' ( a pointer type which point to collection _User
.)
the aggregate above resulting empty data {"results":[]}
, meanwhile it should not
Metadata
Metadata
Assignees
Labels
No labels