-
Couldn't load subscription status.
- Fork 105
Closed
Description
In large collections, the $ne operator is very inefficient and can make queries slow. (https://docs.mongodb.com/manual/reference/operator/query/ne/ last paragraph).
I recently had to investigate performance troubles we're having in one of our largest collections and it's due to the use of this plugin. What I'd suggest is maybe always keeping deleted as false and then doing {$eq: false} to retrieve active documents.
Metadata
Metadata
Assignees
Labels
No labels