[CXX-580] add syntactic sugar for reaching into deeply nested BSON structures Created: 14/Apr/15  Updated: 11/Jan/16  Resolved: 03/Dec/15

Status: Closed
Project: C++ Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 3.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Adam Midvidy Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++11 Driver MongoDB 3.2

 Description   

Need a way to type something like

obj["foo"]["bar"]["baz"] and get a stdx::optional<bsoncxx::value> back.

Right now implementing this logic is quite annoying/unfriendly,



 Comments   
Comment by Githook User [ 02/Dec/15 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt@mattwc.com'}

Message: CXX-580: add support for reaching into nested bson docs/arrays
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/83dd4db98fe4cad8c37fc6707cfb32ebce477698

Comment by Matt Cotter [ 05/Nov/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/368

Generated at Wed Feb 07 21:59:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.