MongoDB Tutorials 21 Lessons

Overview of MongoDB

MongoDB is based on a NoSQL database that is used for storing data in a key-value pair. Its working is based on the concept of document and collection. It is also an open source, a document-oriented, cross-platform database system that is written using C++. In this chapter, you will learn more about MongoDB and its importance.

    Introduction to NoSQL

    Like another database scripting/query languages such as SQL, MySQL, and Oracle, MongoDB also provides a high performance, scalability as well as availability for managing the database. MongoDB is one of the most accepted NoSQL database and stores data in a […]

      History of MongoDB

      Since you are now familiar with the various features of MongoDB, and its characteristics and how it is related to NoSQL, it is time to know the history of Mongo DB. In this chapter, you will briefly learn the history of MongoDB.

        MongoDB Environment Setup

        To get started with MongoDB, you have to install it in your system. You need to find and download the latest version of MongoDB, which will be compatible with your computer system. In this chapter, you will learn how to setup a complete environment to start working with MongoDB.

          Database Create and Drop in MongoDB

          For storing data in a MongoDB, you need to create a database first. This will allow you to systematically organize your data so that it can be retrieved as per requirement. If you wish to delete a database, MongoDB also allows you to delete that. In this chapter, you will learn how to create and delete a database in MongoDB.

            Data Types in MongoDB

            Data type is an essential component of a language. MongoDB stores data in BSON format. In this chapter, you will learn about the different data types that exist in MongoDB, along with their implementation techniques.

              Create Collection in MongoDB

              Collections are like that of tables of RDBMS and are capable enough to store documents of diverse or dissimilar types. Creation and removal of collections in MongoDB can be done in specific ways. In this chapter, you will learn about the creation of collections in a database created using MongoDB.

                Drop Collection in MongoDB

                For dropping a collection in MongoDB, you have to make use of the collection.drop() method. This will eliminate the collection from the database completely and will not leave any indexes that are connected to this drop collection.

                  Insert Documents in MongoDB

                  The insert operation is one of the crucial operations in the database system. In this chapter, you will learn about the different concepts and methods that are related to the insert operation in MongoDB.

                    Query Operations in MongoDB

                    A query in a database system is a command that is used for extracting data from a database and display it in a readable form. In this chapter, you will learn about the different ways of how queries can be made using MongoDB.

                      Projection Queries in MongoDB

                      Protection queries are a particular type of MongoDB queries where you can specify fields you want to get in the output. In this chapter, you will learn about MongoDB Projection Queries which can be used for an additional purpose.

                        Limiting Query Result in MongoDB

                        MongoDB allows you to specify the maximum number of documents to return using limit() method, and it is also possible to skip some documents from a MongoDB database by using skip() method. In this chapter, we will learn about both functions.

                          Update Documents in MongoDB

                          The update operation in a database is used to change or update values in a document. In this chapter, you will learn about how to update data within MongoDB database.

                            Delete Documents in MongoDB

                            After creating an updating the document, a situation might occur where you want to delete any document or a set of documents. MongoDB also allows you to delete any particular document or multiple collections of documents. In this chapter, you will learn about how to delete documents from a MongoDB database.

                              Concept of Aggregation in MongoDB

                              In MongoDB, aggregation can be defined as the operation that is used for processing various types of data in the collection, which returns a calculated result. In this chapter, you will learn about the concept of aggregation that s supported by MongoDB.

                                Sorting in MongoDB

                                Sorting is one of the necessary database operations. It helps to simplify readability and sort the data as per the requirement. In this chapter, you will learn about sorting concept and how it can be implemented in the MongoDB database.

                                  Indexing in MongoDB

                                  Indexing is a necessary operation in MongoDB which brings efficiency in various execution of statements. In this chapter, you will learn about the concept of indexing and how it can be implemented in the MongoDB database.

                                    Scroll Back to Top