-
Notifications
You must be signed in to change notification settings - Fork 83
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
$lookup as reference #63
Conversation
$lookups are safe. No need to clone. As @kofrasa [said](kofrasa#61 (comment)): > forgot to remove the clone. must fix
Codecov Report
@@ Coverage Diff @@
## development #63 +/- ##
============================================
Coverage 97.53% 97.53%
============================================
Files 52 52
Lines 1178 1178
============================================
Hits 1149 1149
Misses 29 29
Continue to review full report at Codecov.
|
I have some changes ready to go that do more optimizations. Basically, iterating the indexes can also be removed by putting the objects put in the hash buckets directly. |
Ok. I can remove this? This was an attempt to help speeding an npm release without the clone along for me to play with. 😎 |
Thanks! One question: |
The mongo docs do not specify what happens when the join field is not matched. Returning a collection seems reasonable. |
You are correct. My mistake. I have tunnel vision. I often match one and The good news, if I am correct, is that I can use a custom operator to create |
👍 |
$lookups are safe. No need to clone.
As @kofrasa said: