[DOCS-409] $elemMatch to return one element in array is not supported before 2.2 - improve documentation on how to work around this at the client side. Created: 16/Aug/12  Updated: 24/Feb/13  Resolved: 24/Feb/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Critical - P2
Reporter: Gregor Macadam Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-368 Document use of the positional operat... Closed
Participants:
Days since reply: 10 years, 51 weeks, 3 days ago

 Description   

Returning single entries from an array subdocument is not supported in versions before 2.2. The entire document must be returned.
So some examples of how to access into the returned BSON arrays in the different driver would be useful. These pages should also be easy to find.

For example, the existing documentation on accessing BSON arrays for example in C++ could be improved here
The existing page is not easy to find. From the main C++ page here there are no links, nor from the BSON C++ page



 Comments   
Comment by Sam Kleinman (Inactive) [ 24/Feb/13 ]

improved cross referencing in new C++ ecosystem pages. documented feature change in 2.2. tickets to improve other driver documentation should be opened (for the moment) in those driver's projects.

Generated at Thu Feb 08 07:38:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.