0

If I do a query in parse where I call "includeKey" to simultaneously fetch referenced objects and the same object is referenced by multiple rows, will it be loaded only once or once per row? If it is fetched once per row there would be a massive overhead which I want to avoid.

1 Answer 1

1

The include is implemented as a separate query which gets all the objects pointed to by the initial query. So the answer is no, this object is not fetched again by each row that points to it, since all the included objects are fetched at once in a separate query.

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.