-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
Today the length of the arrays in mongodb documents is not exposed for querying or retrieving. There are many situation where one needs to add to array only if its length is less than N or is a specific size. In the absence of this feature not only one needs to fetch the list first and make a decision on the client, it's impossible to do it atomically. I believe it's a natural attribute to expose and it's fairly easy to.
- duplicates
-
SERVER-478 Advanced $size quering
- Closed