-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query Optimization
I'm querying the oplog.rs collection and I would like to exclude the o.$set field from the results. The 'o.$set': 0 projection gives an error:
There doesn't seem to be other ways to exclude it. Am I wrong? Is it possible?"Cannot exclude array elements with the positional operator."
- is related to
-
SERVER-14466 Support projecting the $id or $ref for a DBRef() field
- Closed
-
SERVER-8436 Aggregation pipeline cannot process system.profile doc fields with $ prefixes
- Backlog
-
SERVER-30417 add expression to get value by keyname from object
- Closed