1

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.

2
  • I don't understand the question. can you give an example of what you are trying to accomplish? Commented 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" Commented Jun 13, 2017 at 7:11

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.