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.
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.