Skip to content

Commit 6590e63

Browse files
committed
replace classbsoncxx_1_1 with classbsoncxx_1_1v__noabi_1_1
1 parent c0c5e9e commit 6590e63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/mongocxx-v3/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ auto doc_value = make_document(
174174
175175
This `bsoncxx::document::value` type is a read-only object owning
176176
its own memory. To use it, you must obtain a
177-
[`bsoncxx::document::view`]({{< api3ref classbsoncxx_1_1document_1_1view >}}) using
177+
[`bsoncxx::document::view`]({{< api3ref classbsoncxx_1_1v__noabi_1_1document_1_1view >}}) using
178178
the `view()` method:
179179
180180
```c++
@@ -183,7 +183,7 @@ auto doc_view = doc_value.view();
183183

184184
You can access fields within this document view using `operator[]`,
185185
which will return a
186-
[`bsoncxx::document::element`]({{< api3ref classbsoncxx_1_1document_1_1element >}})
186+
[`bsoncxx::document::element`]({{< api3ref classbsoncxx_1_1v__noabi_1_1document_1_1element >}})
187187
instance. For example, the following will extract the `name` field whose
188188
value is a string:
189189

@@ -197,7 +197,7 @@ assert(0 == name.compare("MongoDB"));
197197
If the value in the `name` field is not a string and you do not
198198
include a type guard as seen in the preceding example, this code will
199199
throw an instance of
200-
[`bsoncxx::exception`]({{< api3ref classbsoncxx_1_1exception >}}).
200+
[`bsoncxx::exception`]({{< api3ref classbsoncxx_1_1v__noabi_1_1exception >}}).
201201
202202
## Insert Documents
203203
@@ -280,7 +280,7 @@ To query the collection, use the collection’s `find()` and
280280
`find()` will return an instance of
281281
[`mongocxx::cursor`]({{< api3ref classmongocxx_1_1v__noabi_1_1cursor >}}),
282282
while `find_one()` will return an instance of
283-
`std::optional<`[`bsoncxx::document::value`]({{< api3ref classbsoncxx_1_1document_1_1value >}})`>`
283+
`std::optional<`[`bsoncxx::document::value`]({{< api3ref classbsoncxx_1_1v__noabi_1_1document_1_1value >}})`>`
284284

285285
You can call either method with an empty document to query all documents
286286
in a collection, or pass a filter to query for documents that match the

0 commit comments

Comments
 (0)