How does select method work?

I use select option and add array of string that I want to get. But how does this work?

Does parse server retrieve full object and remove unwanted fields in server or mongodb send only selected field?

You can look into the Parse Server / Parse JS SDK source for select to answer this question.

The keys are not returned by the DB, because select translates into field projection.

1 Like