Is there a way to query inside a Object column with ParsePlatform (parse-server)? Currently the Javascript SDK, as well as the REST API, only allows query on Schema columns.
-
I don't understand the question. can you give an example of what you are trying to accomplish?Arthur Cinader– Arthur Cinader2017-06-09 23:04:07 +00:00Commented Jun 9, 2017 at 23:04
-
@ArthurCinader apparently using REST API it is possible to query such as author.Name or author.About where both "Name" and "About" are keys of object stored in the field "author"quarks– quarks2017-06-13 07:11:58 +00:00Commented Jun 13, 2017 at 7:11
Add a comment
|
1 Answer
This is possible with Parse by default, example:
curl -X GET \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-G \
--data-urlencode 'where={"player.Name":"Sean Plott"' \
https://api.parse.com/1/classes/GameScore
Where player is the field name and Name is the key in the object stored in that field row.