-
-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add count flag to Parse.Query.find #865
Comments
I like the idea. We'd need two changes
@BufferUnderflower is this something that you would be willed to tackle? |
@davimacedo I've read through js sdk, and stumbled upon in what form should the |
The API currently returns in the following format:
We could add a
|
* Documentation for ParseQuery.withCount See: parse-community/Parse-SDK-JS#865 parse-community/Parse-SDK-JS#868 * added disclaimer * remove extra line breaks * Update _includes/js/queries.md Co-Authored-By: Tom Fox <tomfox@surprises.io> * Update _includes/js/queries.md Co-Authored-By: Tom Fox <tomfox@surprises.io> * simpler
REST api supports adding &count=true.
Using JS SDK one needs to run a separate query.count() to get this number
Would be nice to have some optional flag like query.withCount(true/false) to avoid
making separate async calls
The text was updated successfully, but these errors were encountered: