• Professional Development
  • Medicine & Nursing
  • Arts & Crafts
  • Health & Wellbeing
  • Personal Development

Course Images

MongoDB Tutorial for Beginners (2022)

MongoDB Tutorial for Beginners (2022)

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 1 hour 34 minutes

  • All levels

Description

Master MongoDB, an open-source document database and leading NoSQL database that provides high performance, high availability, and automatic scaling. This course covers the MongoDB Community version for beginners and provides over 50 live-running queries, including creating new databases and tables.

MongoDB is a No SQL database, which is an open-source, cross-platform, document-oriented database written in C++. MongoDB is a popular document database with powerful capabilities, such as full-text-based search, geospatial queries, data aggregation, and many more features. The course begins with an introduction to MongoDB and it's features and editions. You will learn to differentiate between SQL and NoSQL databases and set up and install MongoDB on Windows. You will proceed to create a new database and a new collection in MongoDB. You will learn to modify and drop databases and collections. You will learn to insert and display documents in a formatted way using the pretty() method. You will perform various operations on MongoDB using the AND, OR, NOR, and NOT operators. You will explore how to limit records using the limit() method and skip documents using the skip() method. You will create and delete indexes and perform text searches in MongoDB. Upon completing the course, you will be able to master the concepts of MongoDB NoSQL database, create a new database, and maintain an existing database. You will be able to independently run live queries and use complex queries to manipulate data in the database. All resources are available at: https://github.com/PacktPublishing/MongoDB-Tutorial-for-Beginners-2022-

What You Will Learn

Install and set up MongoDB
Create a new database and maintain existing databases with MongoDB
Implement the sort() method in MongoDB and display sorted results
Limit records with limit() and skip documents with skip() method
Use find(), explain(), listCommands(), and getCollectionInfos()
Create and delete indexes and use search text on collections

Audience

The course aims at delivering a high-quality learning experience to those who are database beginners, web developers wanting to learn modern database concepts, application developers that would work on databases to store information for their apps, and programmers involved in complex programming that involves data storage and handling. The only prerequisite required to benefit from this course is to have basic knowledge of computer use.

Approach

The course is delivered step-by-step with explanations included in a tutorial-styled format to make learning MongoDB easier for beginners and to understand how to operate a new database and tables and its concepts with examples of live running queries. The course also provides frequent quizzes and helps refresh your MongoDB skills.

Key Features

Ace NoSQL with a popular database MongoDB developed for modern applications * Learn to create and run a NoSQL database and maintain an existing database with MongoDB * Master MongoDB and understand database and table concepts with live running queries as examples

Github Repo

https://github.com/PacktPublishing/MongoDB-Tutorial-for-Beginners-2022-

About the Author
Amit Diwan

Studyopedia was founded by Amit Diwan in 2018 after working for Tutorialspoint , IIT, IASRI, Sitepoint, DU, and C# Corner. Studyopedia sells courses on Udemy, Tutorialspoint, Geeksforgeeks, and Skillshare, providing video courses to master various technologies and programming languages, databases, frameworks, Python, data science, machine learning, Java, Android, C/C++, HTML5, Bootstrap, JavaScript, jQuery, PHP, CSS, WordPress, Drupal, Joomla, Magento, osCommerce, OpenCart, PrestaShop, and other disciplines. Studyopedia delivers high-quality video courses to millions of students and professionals enrolled through their website on multiple programming languages and technologies.

Course Outline

1. MongoDB Introduction

This section briefly outlines the features and capabilities of MongoDB and how this database system can be used in modern applications.

1. Introduction and Features

Learn what MongoDB is, its features, editions, and so on.

2. NoSQL Versus SQL (With Examples - MongoDB Versus MySQL)

Learn how SQL and NoSQL are different. We have considered the example of MySQL (SQL-based) and MongoDB (NoSQL based) to understand the concept. We will also see what collections and documents in MongoDB are and how they differ from tables and rows in MySQL.

2. MongoDB Installation and Setup

This video demonstrates the installation and setup process of MongoDB.

1. Video Name

Learn how to download and install MongoDB on Windows 10. We will also see how to set the path and run mongo with mongod (daemon).

3. Create a Database and Collection

In this section, you will learn how to create a database and a collection in MongoDB.

1. How to create a Database in MongoDB

Learn to create a new database in MongoDB with live examples.

2. How to Create a Collection in MongoDB

Create a new collection in MongoDB with live examples. A database has a group of collections.

4. Drop a Collection and Database

This section focuses on the creation of a collection and database in MongoDB.

1. Drop a Collection

Drop a collection in MongoDB. Dropping a collection deletes the entire collection and all its documents and fields.

2. Drop a Database

Drop a database in MongoDB. Dropping a database deletes the entire database and all its collections.

5. Insert and Display

This section demonstrates how to insert documents and display documents in a MongoDB Collection.

1. Insert Documents

Learn to insert documents in a MongoDB collection. A collection in MongoDB has documents and fields. Insert documents using the following methods: insert(): Insert document; insertOne(): Insert a single document; insertMany(): Insert multiple documents.

2. Display Documents

Learn to display documents in MongoDB, that is, query/fetch documents from a collection.

3. Display Documents in a Formatted Way - pretty() Method

Implement the pretty() strategy in MongoDB and display formatted documents. The find() method displays documents, and pretty() displays in a formatted way.

4. Display Collections

Display all the collections in a specific MongoDB database.

6. MongoDB Operators

This section illustrates the various operators available for functions in MongoDB.

1. AND Operator

Implement the AND operator in MongoDB and retrieve documents satisfying all the conditions.

2. OR Operator

Learn to implement the OR operator in MongoDB to display documents satisfying at least one condition.

3. NOR Operator

Implement the NOR operator in MongoDB, the opposite of the OR operator.

4. NOT Operator

Learn to implement the NOT operator in MongoDB. It negates the conditions.

8. Sort Records in MongoDB

This section explains how to sort records using the sort() method and sort in ascending and descending orders.

1. Sort Records

Learn to implement the sort() method in MongoDB and display sorted results. The documents can be sorted in ascending as well as descending order. For sort order, use 1 for ascending and -1 for descending order.

9. Text Indexing in MongoDB

This section demonstrates how to create and delete a text index in MongoDB.

1. Create and Delete Text Index

Learn how to create and delete text index in MongoDB.

10. Text Search in MongoDB

This section explores how to perform searches, especially text searches in MongoDB.

1. Text Search on a Collection in MongoDB

Learn how to perform text search with $text in MongoDB.

11. Section Name

In this section, we will understand how to fetch documents from a collection in MongoDB.

1. find() - Fetch Documents From a Collection

Implement the find() method in MongoDB and display documents, that is, fetch documents from a collection.

2. explain() - Provide Information on the Query Plan

Learn how to implement the explain() method in MongoDB. MongoDB explain() provides information on the query plan.

3. stats() - Display Statistics of a Database

Implement the stats() method in MongoDB. This method returns a document with statistics of the database like collections, views, objects, storageSize, indexes, indexSize, totalSize, and so on.

4. listCommands() - Display a List of All Database Commands

Learn how to implement the listCommands() method in MongoDB. This method displays a list of all database commands

5. getCollectionInfos() - Display Collection Information

Implement the getCollectionInfos() method in MongoDB. This method returns an array of documents with collection information.

12. MongoDB Advanced Topics

Here, we will focus on how to aggregate, limit, and skip records.

1. Aggregate Records in MongoDB

Learn how to use MongoDB's aggregate() method to aggregate records.

2. Limit and Skip Records in a Single Query

Learn how we can limit and skip documents in MongoDB using the LIMIT() and SKIP() methods, respectively.

Course Content

  1. MongoDB Tutorial for Beginners (2022)

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews