Meteor-Community-Packages / meteor-collection-hooks

Meteor Collection Hooks
https://atmospherejs.com/matb33/collection-hooks
MIT License
657 stars 92 forks source link

Using direct still causes fetchPrevious behaviour on update method #267

Open pmogollons opened 3 years ago

pmogollons commented 3 years ago

When updating a document using direct Collection.direct.update() previous is still fetched with just the _id. This behaviour doesnt make sense, as it should completely bypass the hooks functionalities.

This causes multiple read queries that are unnesary and can bloat the DB with requests that are never used.