-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
None
-
Query
In many languages you have the ability iterate over objects in the same way as you iterate arrays. In ES6 the simple example is for...of where its equivalent for array is for...in
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of
we already have $in for iterating our query across an array, could we add $of to do the same against objects in a document?
- duplicates
-
SERVER-267 Wildcard support in index/query/projection
- Backlog
- is related to
-
SERVER-18794 Add an aggregation expression to convert an object to an array of key, value pairs
- Closed