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
The UpdateOperations class does not currently support using the $slice operator to create capped arrays. It would be beneficial to be able to use Morphia to update collections containing capped arrays.
The text was updated successfully, but these errors were encountered:
Maybe have two new methods, addCapped and addAllCapped, that mirror the existing add and addAll methods and take an extra parameter specifying the maximum size of the array.
That sounds sensible. I like the idea of adding support for this, but I'm going to schedule it for post-1.0 as I don't think it's a feature that's mandatory for getting to a 1.0 release.
The UpdateOperations class does not currently support using the $slice operator to create capped arrays. It would be beneficial to be able to use Morphia to update collections containing capped arrays.
The text was updated successfully, but these errors were encountered: