We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you want to count the number of results a given query matches, you must write a for loop which increments a variable.
Since this isn't supper uncommon, we should have a method count() on Query which implements the for loop for us and returns the result.
count()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
If you want to count the number of results a given query matches, you must write a for loop which increments a variable.
Solution
Since this isn't supper uncommon, we should have a method
count()
on Query which implements the for loop for us and returns the result.The text was updated successfully, but these errors were encountered: