-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
It would be great if field specification could limit automatically array elements. So that you could do something like:
```
db.foo.find({},
)
```
And get from:
```
{bar: ['a', 'b', 'c']}```
This result:
```
{bar: 'a'}```