MongoDB Projection In this tutorial, we will learn another interesting topic of MongoDB which is MongoDB Projection. This is used when we want to get
Category: MongoDB
MongoDB is a free and open-source cross-platform document-oriented database program.
Delete Document from a Collection – MongoDB
MongoDB Delete Document from a Collection The remove() method is used for removing the documents from a collection in MongoDB. Syntax of remove() method: db.collection_name.remove(delete_criteria)
MongoDB – Update Document in a Collection
MongoDB – Update Document in a Collection In MongoDB, we have two ways to update a document in a collection. 1) update() method 2) save()
Query Document using find() method In MongoDB
MongoDB Query Document using find() method In my previous tutorials I have used the find() method to query all the documents from a collection. In
Insert Document In MongoDB
MongoDB Insert Document Syntax to insert a document into the collection: db.collection_name.insert() MongoDB Insert Document using insert() Example Here we are inserting a document into
Delete A Database in MongoDB
Drop Database in MongoDB In the last tutorial we learned how to create a database in MongoDB. Here we will see how to drop a
Create Database In MongoDB
MongoDB Create Database Start the MongoDB service by typing this command: net start MongoDB Next Now we should be working in the MongoDB shell. To
Install and Configure MongoDb for Windows
How to install and Configure MongoDB for Windows MongoDB Configuration Step 1: Locate the folder where you have installed MongoDB. If you have followed the
Mapping RDBMS to MongoDb
Mapping Relational Databases to MongoDB If you are coming from a relational database background then it might be difficult for you to relate the RDBMS
What is a document in mongodb?
Introduction to MongoDB MongoDB is an open source, document oriented database that stores data in form of documents (key and value pairs). As discussed in