Searching Topics for
Lesson 2, Exercise 1: Setting up MongoDB Atlas
In this exercise, you’ll set up MongoDB Atlas using the free M0 service tier. The setup process consists of registering with the MongoDB Atlas service and configuring a cluster. When registering with the service, you must provide an email address, first name, last name, and password. When setting up the cluster, you must select a […]
Lesson 2, Exercise 2: Configuring MongoDB Atlas
In this exercise, you’ll configure MongoDB Atlas to connect to the cluster you created in Exercise 1. For this, you will need the IP address of the device that will connect to the service. If you plan to connect to MongoDB Atlas on the same device where you’re setting up the service, MongoDB Atlas can […]
Exercise: Installing Studio 3T
In this exercise, you’ll download the Windows installation file from the Studio 3T download page and run the setup wizard. To install Studio 3T 1. Open a browser and go to the Studio 3T download page. 2. Ensure that the Windows tab is selected on the download form and fill out the form as needed. 3. Click Download for Windows. […]
Lesson 3, Exercise: Connecting to MongoDB via Studio 3T
In this exercise, you’ll learn how to connect to your local MongoDB instance or to the MongoDB Atlas cluster you set up in Configuring MongoDB Atlas. You’ll then test the connection by creating and querying a simple collection. To connect to MongoDB 1. Launch Studio 3T if it’s not running. 2. On the Studio 3T […]
Lesson 4: Understanding MongoDB Documents: Fields & Data Types
The document, which is comprised of field/value pairs, is at the heart of the MongoDB data structure. Most interactions with MongoDB occur at the document level. A field can contain a single value, multiple fields, or multiple elements. A value made up of multiple fields is referred to as an embedded document and is assigned the Object […]
Lesson 4, Exercise 1: Creating a collection from a .json file
In this exercise, you will create a database named pubs and a collection named welsh_pubs. You will then import a set of documents from the welsh_pubs.json file, which contains document data about pubs in Wales. To create the collection 1. Launch Studio 3T and connect to MongoDB Atlas. 2. In the Connection Tree, right-click the connection (top-level […]
Lesson 4, Exercise 2: Reviewing the collection in different views
Studio 3T lets you view a collection in Tree View, Table View, and JSON View. In this exercise, you will review the welsh_pubs collection in all three views. You will also update some preferences to make it easier to view documents in Tree View. To review the collection 1. On the welsh_pubs collection tab, select Table View from the drop-down list in […]
Lesson 4, Exercise 3: Using Visual Query Builder to query data
In this exercise, you will use Visual Query Builder to create a query that you will run against the welsh_pubs collection. The query limits the results to pubs that contain the term snooker in their name. The query also limits the number of fields included in the results. To create the query 1. On the […]
Lesson 4, Exercise 4: Updating data directly within the collection
In this exercise, you will update the documents returned by the query you ran in the previous exercise. You will update two individual values, update the data type for one of the fields, and bulk update the value in another field. To update the data 1. On the welsh_pubs collection tab, ensure that the collection data is […]
Lesson 7: Introducing IntelliShell
IntelliShell offers the simplicity of the mongo shell, but adds an assortment of features to make it easier to query a database and view the results. You can launch IntelliShell from the Studio 3T menu or through the Connection Tree. For example, you can launch IntelliShell from a database or collection node. IntelliShell opens as a separate tab, […]