forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refinements to limit/skip observe support:
- Decide that queries need to be recomputed in _modifyAndNotify directly instead of in _removeFromResults and friends; this is because the choice of which _fooFromResults function to invoke might not actually be correct in the presence of skip and limit. (The previous code still worked because all three of those functions had the same code for the skip/limit case.) - If update or remove affects more than one doc for a query, only recompute it once at the end instead of once per doc.
- Loading branch information
Showing
1 changed file
with
47 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters