-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Adds ability to set hint on Parse.Query #6322
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you lint your code and add tests here? You can use the Rest API.
Codecov Report
@@ Coverage Diff @@
## master #6322 +/- ##
==========================================
+ Coverage 93.79% 93.83% +0.03%
==========================================
Files 169 169
Lines 11609 11608 -1
==========================================
+ Hits 10889 10892 +3
+ Misses 720 716 -4
Continue to review full report at Codecov.
|
I added you as a collaborator @dplewis |
Following the MongoDB Driver I changed the following. find(), aggregate() and count() can use hint @stevestencil If you have time you can also full add explain support. I added explain for testing (can't be access through REST API like hint). find(), aggregate() can use explain. This will allow us to write REST API tests. |
@stevestencil How does this look? |
Looks good! I just ran a few live tests and it appears everything worked great! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job guys! It is very helpful. LGTM!
…ommunity#6322) * added hint to aggregate * added support for hint in query * added else clause to aggregate * fixed tests * updated tests * Add tests and clean up * Add support for explain Co-authored-by: Diamond Lewis <[email protected]>
Closes #6288