Skip to content

Commit 64a860e

Browse files
committed
Add 2.14 reference documentation
1 parent b8bf181 commit 64a860e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/reference/content/getting-started/installation-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ The recommended way to get started using one of the drivers in your project is w
1717

1818
This jar that contains everything you need including the BSON library.
1919

20-
{{< install artifactId="mongo-java-driver" version="2.14.0-SNAPSHOT" >}}
20+
{{< install artifactId="mongo-java-driver" version="2.14.0-rc0" >}}
2121

2222
## BSON
2323

2424
This library comprehensively supports [BSON](http://www.bsonspec.org),
2525
the data storage and network transfer format that MongoDB uses for "documents".
2626
BSON is short for Binary [JSON](http://json.org/), is a binary-encoded serialization of JSON-like documents.
2727

28-
{{< install artifactId="bson" version="2.14.0-SNAPSHOT" >}}
28+
{{< install artifactId="bson" version="2.14.0-rc0" >}}

docs/reference/content/getting-started/quick-tour.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ for more information.
9797

9898
To get a collection to use, just specify the name of the collection to
9999
the [getCollection(String
100-
collectionName)](http://api.mongodb.org/java/2.13/com/mongodb/DB.html#getCollection%28java.lang.String%29)
100+
collectionName)](http://api.mongodb.org/java/2.14/com/mongodb/DB.html#getCollection%28java.lang.String%29)
101101
method:
102102

103103
```java
@@ -110,7 +110,7 @@ data, query for data, etc
110110
## Setting Write Concern
111111

112112
As of version 2.10.0, the default write concern is
113-
[WriteConcern.ACKNOWLEDGED](http://api.mongodb.org/java/2.13/com/mongodb/WriteConcern.html#ACKNOWLEDGED),
113+
[WriteConcern.ACKNOWLEDGED](http://api.mongodb.org/java/2.14/com/mongodb/WriteConcern.html#ACKNOWLEDGED),
114114
but it can be easily changed:
115115

116116
```java
@@ -120,7 +120,7 @@ mongoClient.setWriteConcern(WriteConcern.JOURNALED);
120120
There are many options for write concern. Additionally, the default
121121
write concern can be overridden on the database, collection, and
122122
individual update operations. Please consult the [API
123-
Documentation](http://api.mongodb.org/java/2.13/index.html) for
123+
Documentation](http://api.mongodb.org/java/2.14/index.html) for
124124
details.
125125

126126
## Inserting a Document
@@ -143,7 +143,7 @@ be represented as
143143

144144
Notice that the above has an "inner" document embedded within it. To do
145145
this, we can use the
146-
[BasicDBObject](http://api.mongodb.org/java/2.13/com/mongodb/BasicDBObject.html)
146+
[BasicDBObject](http://api.mongodb.org/java/2.14/com/mongodb/BasicDBObject.html)
147147
class to create the document (including the inner document), and then
148148
just simply insert it into the collection using the `insert()` method.
149149

@@ -159,10 +159,10 @@ coll.insert(doc);
159159

160160
To show that the document we inserted in the previous step is there, we
161161
can do a simple
162-
[findOne()](http://api.mongodb.org/java/2.13/com/mongodb/DBCollection.html#findOne%28java.lang.Object%29)
162+
[findOne()](http://api.mongodb.org/java/2.14/com/mongodb/DBCollection.html#findOne%28java.lang.Object%29)
163163
operation to get the first document in the collection. This method
164-
returns a single document (rather than the [DBCursor](http://api.mongodb.org/java/2.13/com/mongodb/DBCursor.html)
165-
that the [find()](http://api.mongodb.org/java/2.13/com/mongodb/DBCollection.html#find()')
164+
returns a single document (rather than the [DBCursor](http://api.mongodb.org/java/2.14/com/mongodb/DBCursor.html)
165+
that the [find()](http://api.mongodb.org/java/2.14/com/mongodb/DBCollection.html#find()')
166166
operation returns), and it's useful for things where there only is one
167167
document, or you are only interested in the first. You don't have to
168168
deal with the cursor.

docs/reference/content/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type = "index"
66

77
## MongoDB Java Driver Documentation
88

9-
Welcome to the MongoDB Java driver documentation hub for the 2.13 driver release.
9+
Welcome to the MongoDB Java driver documentation hub for the 2.14 driver release.
1010

1111
### Getting Started
1212

@@ -15,4 +15,4 @@ and a simple tutorial to get up and running quickly.
1515

1616
### API Documentation
1717

18-
For more detailed API documentation, see the [Java Docs](http://api.mongodb.org/java/2.13/).
18+
For more detailed API documentation, see the [Java Docs](http://api.mongodb.org/java/2.14/).

0 commit comments

Comments
 (0)