Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 512a556

Browse files
committed
Updated to use MongoDB Java driver v4.5.1
1 parent 9938276 commit 512a556

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Repository to help getting started with MongoDB Java driver connecting to MongoD
44

55
## Information
66

7-
This Get-Started project uses [MongoDB Java driver](https://mongodb.github.io/mongo-java-driver/) version 4.3.0 (sync) by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver.
7+
This Get-Started project uses [MongoDB Java driver](https://mongodb.github.io/mongo-java-driver/) version 4.5.1 (sync) by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver.
88

99
## Pre-requisites
1010

@@ -25,7 +25,7 @@ Execute the helper shell script followed by the MongoDB URI that you would like
2525

2626
To use a different driver version, specify the driver version after the MongoDB URI. For example:
2727
```
28-
./get-started.sh "mongodb+srv://usr:pwd@example.mongodb.net/dbname?retryWrites=true" 4.1.1
28+
./get-started.sh "mongodb+srv://usr:pwd@example.mongodb.net/dbname?retryWrites=true" 4.3.0
2929
```
3030

3131
## Tutorials

get-started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ then
55
read -p "MONGODB URI (Required): " MONGODB_URI
66
fi
77

8-
DRIVER_VERSION=${2:-4.3.0}
8+
DRIVER_VERSION=${2:-4.5.1}
99
echo "Executing ... "
1010
docker run --rm -e MONGODB_URI=${MONGODB_URI} \
1111
-v "$(pwd)":/workspace \

0 commit comments

Comments
 (0)