From f46b8992aa27ee34596872ff36131d2ba5731345 Mon Sep 17 00:00:00 2001 From: Meg528 <71841959+Meg528@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:17:49 -0700 Subject: [PATCH] Update 0-using-library-database.mdx --- .../0-using-library-database.mdx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/30-simple-queries/0-using-library-database.mdx b/docs/30-simple-queries/0-using-library-database.mdx index 81ee854..b321e79 100644 --- a/docs/30-simple-queries/0-using-library-database.mdx +++ b/docs/30-simple-queries/0-using-library-database.mdx @@ -1,12 +1,11 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# πŸ‘ Using the library database +# πŸ‘ Using the Library Database ## Select the library database -πŸ’» We'll use the `library` database for all of the hands-on exercises in this lab. -If you haven't already, import the [library data](https://mdb.link/import-library-data) into your database cluster. +πŸ’» We'll use the `library` database for all of the hands-on exercises in this lab. If you haven't already, import the [library data](https://mdb.link/import-library-data) into your database cluster. @@ -19,13 +18,13 @@ Select the correct database in the aggregation pipeline builder. -To do that, in a MongoDB shell type in: +To do that, in a MongoDB shell, type: ```js use library ``` -You can show all collections with +You can show all collections with: ```js show collections @@ -36,7 +35,7 @@ show collections πŸ¦Έβ€β™‚οΈ πŸ’» How would you switch to a database called `orders`? :::info -Extra activity, do it if you have extra time or are following at home, won't be covered during the hands-on lab. +Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab. :::
@@ -47,7 +46,7 @@ Extra activity, do it if you have extra time or are following at home, won't be use orders ``` -Even if this database does not yet exists, MongoDB can change to it. If we create a collection, users, etc. then this DB will get created. +Even if this database does not yet exist, MongoDB can change to it. If we create a collection, users, etc., then this DB will be created. Remember to get back to the library database by using: @@ -57,13 +56,13 @@ use library
-## πŸ¦Έβ€β™‚οΈ Showing all Databases +## πŸ¦Έβ€β™‚οΈ Showing all databases :::info -Extra activity, do it if you have extra time or are following at home, won't be covered during the hands-on Lab +Extra activity! Do it if you have extra time or are following along at home. It won't be covered during the hands-on lab. ::: -You can also list other databases in your MongoDB instance with +You can also list other databases in your MongoDB instance with: ```js show databases