-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
enhancementEnhancements & featuresEnhancements & features
Milestone
Description
Add an attribute which can preallocate an array for X number of items. This would construct the generic type on the list (or array type) from the base constructor. This would be through the insert mutator to update the document before insert.
This can boost update performance by avoiding issues with needing to reallocate space for a document.
See: https://docs.mongodb.com/manual/core/write-performance/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementEnhancements & featuresEnhancements & features