From 384011f532dbea190ae153aa7780211e2b9e4e97 Mon Sep 17 00:00:00 2001 From: Diego Freniche Date: Tue, 2 Dec 2025 10:02:31 +0100 Subject: [PATCH 1/2] Added numbers to the steps to open a document --- dotnet/00_open_mongodb.ipynb | 8 ++++---- java/00_open_mongodb.ipynb | 8 ++++---- javascript/00_open_mongodb.ipynb | 8 ++++---- python/00_open_mongodb.ipynb | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dotnet/00_open_mongodb.ipynb b/dotnet/00_open_mongodb.ipynb index 131d672..e3df90f 100644 --- a/dotnet/00_open_mongodb.ipynb +++ b/dotnet/00_open_mongodb.ipynb @@ -41,10 +41,10 @@ "source": [ "## Open the library database\n", "\n", - "- open the library database\n", - "- open the books collection\n", - "- click on Documents\n", - "- open a document" + "1. Open the library database\n", + "1. Open the books collection\n", + "1. Click on Documents\n", + "1. Open a document" ] } ], diff --git a/java/00_open_mongodb.ipynb b/java/00_open_mongodb.ipynb index 2f27bcf..24887da 100644 --- a/java/00_open_mongodb.ipynb +++ b/java/00_open_mongodb.ipynb @@ -33,10 +33,10 @@ "source": [ "## Open the library database\n", "\n", - "- open the library database\n", - "- open the books collection\n", - "- click on Documents\n", - "- open a document" + "1. Open the library database\n", + "1. Open the books collection\n", + "1. Click on Documents\n", + "1. Open a document" ] } ], diff --git a/javascript/00_open_mongodb.ipynb b/javascript/00_open_mongodb.ipynb index f7bf9f2..dd7ddc3 100644 --- a/javascript/00_open_mongodb.ipynb +++ b/javascript/00_open_mongodb.ipynb @@ -33,10 +33,10 @@ "source": [ "## Open the library database\n", "\n", - "- Open the library database\n", - "- Open the books collection\n", - "- Click on Documents\n", - "- Open a document" + "1. Open the library database\n", + "1. Open the books collection\n", + "1. Click on Documents\n", + "1. Open a document" ] } ], diff --git a/python/00_open_mongodb.ipynb b/python/00_open_mongodb.ipynb index 0b65850..24887da 100644 --- a/python/00_open_mongodb.ipynb +++ b/python/00_open_mongodb.ipynb @@ -33,10 +33,10 @@ "source": [ "## Open the library database\n", "\n", - "- Open the library database\n", - "- Open the books collection\n", - "- Click on Documents\n", - "- Open a document" + "1. Open the library database\n", + "1. Open the books collection\n", + "1. Click on Documents\n", + "1. Open a document" ] } ], From 6d58ca1cc7f85424feaa1fc8cd2ddd4a4e0c9956 Mon Sep 17 00:00:00 2001 From: Diego Freniche Date: Tue, 2 Dec 2025 10:15:45 +0100 Subject: [PATCH 2/2] Added clear steps to connect to the sample DB --- dotnet/00_open_mongodb.ipynb | 30 +++++++++++++----------------- java/00_open_mongodb.ipynb | 22 +++++++++++++--------- javascript/00_open_mongodb.ipynb | 29 ++++++++++++++--------------- python/00_open_mongodb.ipynb | 22 +++++++++++++--------- 4 files changed, 53 insertions(+), 50 deletions(-) diff --git a/dotnet/00_open_mongodb.ipynb b/dotnet/00_open_mongodb.ipynb index e3df90f..10f1e5e 100644 --- a/dotnet/00_open_mongodb.ipynb +++ b/dotnet/00_open_mongodb.ipynb @@ -6,22 +6,8 @@ "source": [ "# Open MongoDB Using the MongoDB Extension\n", "\n", - "- click on the MongoDB extension on the side panel\n", - "- add a new connection clicking on `Add Connection`\n", - "- use as connection:" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "vscode": { - "languageId": "plaintext" - } - }, - "outputs": [], - "source": [ - "mongodb://admin:mongodb@localhost:27017/" + "1. click on the MongoDB extension on the side panel\n", + "2. To connect to the local database, click on ‘Library DB’ in the list of connections on the left side" ] }, { @@ -32,7 +18,7 @@ "- admin\n", "- config\n", "- local\n", - "- library -> we're going to work with this one" + "- library -> __we're going to work with this one__" ] }, { @@ -46,6 +32,16 @@ "1. Click on Documents\n", "1. Open a document" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Connecting to Atlas (or your own deployment)\n", + "\n", + "- add a new connection clicking on `+` (`Add MongoDB Connection`).\n", + "- enter the [MongoDB Connection String](https://www.mongodb.com/docs/manual/reference/connection-string/) of your database." + ] } ], "metadata": { diff --git a/java/00_open_mongodb.ipynb b/java/00_open_mongodb.ipynb index 24887da..10f1e5e 100644 --- a/java/00_open_mongodb.ipynb +++ b/java/00_open_mongodb.ipynb @@ -6,21 +6,15 @@ "source": [ "# Open MongoDB Using the MongoDB Extension\n", "\n", - "- click on the MongoDB extension on the side panel\n", - "- to connect to the local database, click on ‘Library DB’ in the list of connections on the left side.\n", - "\n", - "We're using this connection string:\n", - "\n", - "```\n", - "mongodb://admin:mongodb@localhost:27017/\n", - "```" + "1. click on the MongoDB extension on the side panel\n", + "2. To connect to the local database, click on ‘Library DB’ in the list of connections on the left side" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "You should see five databases in the MongoDB database server:\n", + "You should see four databases in the MongoDB database server:\n", "- admin\n", "- config\n", "- local\n", @@ -38,6 +32,16 @@ "1. Click on Documents\n", "1. Open a document" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Connecting to Atlas (or your own deployment)\n", + "\n", + "- add a new connection clicking on `+` (`Add MongoDB Connection`).\n", + "- enter the [MongoDB Connection String](https://www.mongodb.com/docs/manual/reference/connection-string/) of your database." + ] } ], "metadata": { diff --git a/javascript/00_open_mongodb.ipynb b/javascript/00_open_mongodb.ipynb index dd7ddc3..10f1e5e 100644 --- a/javascript/00_open_mongodb.ipynb +++ b/javascript/00_open_mongodb.ipynb @@ -6,21 +6,15 @@ "source": [ "# Open MongoDB Using the MongoDB Extension\n", "\n", - "- Click on the MongoDB extension on the side panel\n", - "- To connect to the local database, click on ‘Library DB’ in the list of connections on the left side.\n", - "\n", - "We're using this connection string:\n", - "\n", - "```\n", - "mongodb://admin:mongodb@localhost:27017/\n", - "```" + "1. click on the MongoDB extension on the side panel\n", + "2. To connect to the local database, click on ‘Library DB’ in the list of connections on the left side" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "You should see five databases in the MongoDB database server:\n", + "You should see four databases in the MongoDB database server:\n", "- admin\n", "- config\n", "- local\n", @@ -38,16 +32,21 @@ "1. Click on Documents\n", "1. Open a document" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Connecting to Atlas (or your own deployment)\n", + "\n", + "- add a new connection clicking on `+` (`Add MongoDB Connection`).\n", + "- enter the [MongoDB Connection String](https://www.mongodb.com/docs/manual/reference/connection-string/) of your database." + ] } ], "metadata": { - "kernelspec": { - "display_name": "Deno", - "language": "typescript", - "name": "deno" - }, "language_info": { - "name": "typescript" + "name": "python" } }, "nbformat": 4, diff --git a/python/00_open_mongodb.ipynb b/python/00_open_mongodb.ipynb index 24887da..10f1e5e 100644 --- a/python/00_open_mongodb.ipynb +++ b/python/00_open_mongodb.ipynb @@ -6,21 +6,15 @@ "source": [ "# Open MongoDB Using the MongoDB Extension\n", "\n", - "- click on the MongoDB extension on the side panel\n", - "- to connect to the local database, click on ‘Library DB’ in the list of connections on the left side.\n", - "\n", - "We're using this connection string:\n", - "\n", - "```\n", - "mongodb://admin:mongodb@localhost:27017/\n", - "```" + "1. click on the MongoDB extension on the side panel\n", + "2. To connect to the local database, click on ‘Library DB’ in the list of connections on the left side" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "You should see five databases in the MongoDB database server:\n", + "You should see four databases in the MongoDB database server:\n", "- admin\n", "- config\n", "- local\n", @@ -38,6 +32,16 @@ "1. Click on Documents\n", "1. Open a document" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Connecting to Atlas (or your own deployment)\n", + "\n", + "- add a new connection clicking on `+` (`Add MongoDB Connection`).\n", + "- enter the [MongoDB Connection String](https://www.mongodb.com/docs/manual/reference/connection-string/) of your database." + ] } ], "metadata": {