You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which makes me assume parse-server did an db query for the comments, then a separate query for each included user for a total of 3 queries. if i am understanding correctly, this would get pretty slow when there are 10+ comments.
Describe the solution you'd like
would it be possible to do all the includes in one request? i believe programmatically we could construct one query with a series of or statements such that request above would only result in 2 queries to the db.
Additional context
I am quite new to parse-server so please tell me if i am misunderstanding.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
My feature is a performance request
I have a snippet of code
where there are 2 MyComments each have a pointer to 2 a different user. I ran the request with my mongod set to verbose. In those logs, I see
which makes me assume parse-server did an db query for the comments, then a separate query for each included user for a total of 3 queries. if i am understanding correctly, this would get pretty slow when there are 10+ comments.
Describe the solution you'd like
would it be possible to do all the includes in one request? i believe programmatically we could construct one query with a series of or statements such that request above would only result in 2 queries to the db.
Additional context
I am quite new to parse-server so please tell me if i am misunderstanding.
The text was updated successfully, but these errors were encountered: