File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/reference/content/getting-started Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ contains a field `info` which is an embedded document:
97
97
}
98
98
```
99
99
100
- To create the document using the Scala driver, use the [ ` Document ` ] ({{< apiref "org/mongodb/scala/collection/immutable/Document">}}) class. You
100
+ To create the document using the Scala driver, use the [ ` Document ` ] ({{< apiref "org/mongodb/scala/bson/ collection/immutable/Document">}}) class. You
101
101
can use this class to create the embedded document as well.
102
102
103
103
{{% note class="warning" %}}
104
- The Scala driver provides two document types - an immutable [ ` Document ` ] ({{< apiref "org/mongodb/scala/collection/immutable/Document">}})
105
- and a mutable [ ` Document ` ] ({{< apiref "org/mongodb/scala/collection/mutable/Document">}}).
104
+ The Scala driver provides two document types - an immutable [ ` Document ` ] ({{< apiref "org/mongodb/scala/bson/ collection/immutable/Document">}})
105
+ and a mutable [ ` Document ` ] ({{< apiref "org/mongodb/scala/bson/ collection/mutable/Document">}}).
106
106
107
107
When using an immutable document then you should explicitly add an ` _id ` value, if you need to know that ` _id ` value in the future.
108
108
You can’t perform that action at this time.
0 commit comments