John Doe
John Doe

Reputation: 1025

Parse.com _User relation to _User

I have an array field called "friends" on my _User table that has pointers to other users in the _User table. If I were to make a REST GET on _Users, what query would give me all the friends for a given user?

Upvotes: 0

Views: 135

Answers (1)

Timothy Walters
Timothy Walters

Reputation: 16874

This is covered in the documentation on REST API, Queries, Relational Queries.

Basically you just need to add an include=friends to the url.

Upvotes: 1

Related Questions