|
22 | 22 | "id": "ff9ae529", |
23 | 23 | "metadata": {}, |
24 | 24 | "source": [ |
25 | | - "We'll start with some examples to test our connection to MongoDB and how to send commands to the database." |
| 25 | + "We'll start with some examples to test our connection to MongoDB and send commands to the database." |
26 | 26 | ] |
27 | 27 | }, |
28 | 28 | { |
|
32 | 32 | "source": [ |
33 | 33 | "## Select the Java Kernel\n", |
34 | 34 | "\n", |
35 | | - "To run the code cells in these notebooks you need to select the appropriate kernel (programming language). In this case is Java. Click on the `Select Kernel` button at the top right, then `Jupyter Kernel` > `Java`" |
| 35 | + "To run the code cells in these notebooks, you need to select the appropriate kernel (programming language). In this case, the language is Java. Click on the `Select Kernel` button at the top right, then `Jupyter Kernel` > `Java`." |
36 | 36 | ] |
37 | 37 | }, |
38 | 38 | { |
|
42 | 42 | "source": [ |
43 | 43 | "## Install the MongoDB Driver\n", |
44 | 44 | "\n", |
45 | | - "We use Maven to install the [Sync version of the MongoDB database driver](https://www.mongodb.com/docs/drivers/java/sync/current/) for Java. Then we are importing all required packages." |
| 45 | + "We use Maven to install the [Sync version of the MongoDB database driver](https://www.mongodb.com/docs/drivers/java/sync/current/) for Java. Then, we import all required packages." |
46 | 46 | ] |
47 | 47 | }, |
48 | 48 | { |
|
74 | 74 | "id": "advisory-christmas", |
75 | 75 | "metadata": {}, |
76 | 76 | "source": [ |
77 | | - "## Set your connection String below\n", |
| 77 | + "## Set Your Connection String\n", |
78 | 78 | "\n", |
79 | | - "We can just connect to `localhost` as this devcontainer is also running a MongoDB instance with some data, or you can connect to your own Atlas cluster just changing the `connectionString` below." |
| 79 | + "You can connect to `localhost`, as this devcontainer is also running a MongoDB instance with some data. Alternatively, you can connect to your own Atlas cluster by changing the `connectionString` below." |
80 | 80 | ] |
81 | 81 | }, |
82 | 82 | { |
|
98 | 98 | "id": "recovered-prospect", |
99 | 99 | "metadata": {}, |
100 | 100 | "source": [ |
101 | | - "## Ping the Database server\n", |
| 101 | + "## Ping the Database Server\n", |
102 | 102 | "\n", |
103 | 103 | "The `ping()` database command fetches information about the state of the MongoDB database." |
104 | 104 | ] |
|
132 | 132 | "id": "5bee7da0", |
133 | 133 | "metadata": {}, |
134 | 134 | "source": [ |
135 | | - "## Send a Hello command\n", |
| 135 | + "## Send a Hello Command\n", |
136 | 136 | "\n", |
137 | | - "The `hello()` command returns database server details for the backend MongoDB database used in this workshop." |
| 137 | + "The `hello()` command returns database server details for the MongoDB database used in this workshop." |
138 | 138 | ] |
139 | 139 | }, |
140 | 140 | { |
|
162 | 162 | "id": "amazing-webcam", |
163 | 163 | "metadata": {}, |
164 | 164 | "source": [ |
165 | | - "## Get a list of all databases and collections\n", |
| 165 | + "## List All Databases and Collections\n", |
166 | 166 | "\n", |
167 | | - "We'll get a list of all the databases in my cluster using `listDatabases()` and then we'll print them." |
| 167 | + "We'll get a list of all the databases in my cluster by using `listDatabases()`, and then we'll print them." |
168 | 168 | ] |
169 | 169 | }, |
170 | 170 | { |
|
0 commit comments