You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current implementation of preUpdateMany loops through the ids and uses findOne on each of the ids , we can use this this.repository.find({ _id: { $in: ids } }); instead to decrease number of queries & improve performance , we might need to adapt the logic & write new tests
The text was updated successfully, but these errors were encountered:
Description
current implementation of preUpdateMany loops through the ids and uses findOne on each of the ids , we can use this this.repository.find({ _id: { $in: ids } }); instead to decrease number of queries & improve performance , we might need to adapt the logic & write new tests
The text was updated successfully, but these errors were encountered: