1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# Access a Document Element
## By Iteration
### Basic Example
@snippet api/bsoncxx/examples/bson_documents/access_doc/basic.cpp Example
### Using Iterators
@snippet api/bsoncxx/examples/bson_documents/access_doc/iterators.cpp Example
### Using Algorithms
@snippet api/bsoncxx/examples/bson_documents/access_doc/algorithms.cpp Example
## By Key
### Using find()
@snippet api/bsoncxx/examples/bson_documents/access_doc/find.cpp Example
### Using the Subscript Operator
@snippet api/bsoncxx/examples/bson_documents/access_doc/subscript.cpp Example
|