Skip to content
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

Adds withCount query constraint #868

Merged

Conversation

BufferUnderflower
Copy link
Contributor

Fixes #865

@codecov
Copy link

codecov bot commented Jul 18, 2019

Codecov Report

Merging #868 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #868      +/-   ##
==========================================
+ Coverage   92.12%   92.14%   +0.02%     
==========================================
  Files          54       54              
  Lines        4988     5006      +18     
  Branches     1114     1121       +7     
==========================================
+ Hits         4595     4613      +18     
  Misses        393      393
Impacted Files Coverage Δ
src/ParseQuery.js 95.86% <100%> (+0.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a807dae...71a0d62. Read the comment docs.

Copy link
Member

@davimacedo davimacedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BufferUnderflower thanks for the PR. It seems really good for me. I just have a single question that I added below and I think we are ready to merge. @dplewis @acinader do you guys want to take a look as well?

src/ParseQuery.js Outdated Show resolved Hide resolved
src/ParseQuery.js Show resolved Hide resolved
src/ParseQuery.js Show resolved Hide resolved
@davimacedo davimacedo requested a review from dplewis July 19, 2019 19:47
@dplewis dplewis merged commit 957af7e into parse-community:master Jul 19, 2019
@davimacedo
Copy link
Member

Good job @BufferUnderflower ! Would you be willed to add some information about it in JS docs?

@BufferUnderflower
Copy link
Contributor Author

@davimacedo parse-community/docs#644

dplewis pushed a commit to parse-community/docs that referenced this pull request Jul 23, 2019
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add count flag to Parse.Query.find
3 participants