better performance for exists() method of Query class#298
Conversation
|
@samdark what is milestone for this PR ? |
|
2.1.10. Overall it looks extremely hacky. Need @yiisoft/core-developers and @yiisoft/reviewers opinions about it. |
|
Some more explanation why this is better would be nice. Also test do not pass. |
|
@schmunk42 the explanation is in #290 |
|
How about and do the modifications when |
|
@schmunk42 does it make sense to do it in non-optimized way? |
I am no mongo expert, my concern is only about BC. Counterquestion: Why is it not done by mongo, if it makes no difference? |
@samdark please see Checking if a document exists – MongoDB slow findOne vs find |
|
The link could be added to comment since the code there causes questions immediately. |
Uh oh!
There was an error while loading. Please reload this page.