Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 17 additions & 21 deletions dotnet/00_open_mongodb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand All @@ -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__"
]
},
{
Expand All @@ -41,10 +27,20 @@
"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"
]
},
{
"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."
]
}
],
Expand Down
30 changes: 17 additions & 13 deletions java/00_open_mongodb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -33,10 +27,20 @@
"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"
]
},
{
"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."
]
}
],
Expand Down
37 changes: 18 additions & 19 deletions javascript/00_open_mongodb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -33,21 +27,26 @@
"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"
]
},
{
"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,
Expand Down
30 changes: 17 additions & 13 deletions python/00_open_mongodb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -33,10 +27,20 @@
"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"
]
},
{
"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."
]
}
],
Expand Down