Posts

MongoDB | CRUD Operations

Objective of the Blog is to build a basic understanding about CRUD (Create, Update and Delete) operations on a Document-based or a NoSQL Database. MongoDB is a NoSQL database, unlike RDBMS the schema of a NoSQL DB is flexible, developer need not to define the collection structure before pumping data into it. MongoDB explanation in this blog will be a comparative study with respect to RDBMS especially Oracle DB. Current article on MongoDB will cover below topics: 1. Create a Database (equivalent to creating a schema/user in Oracle) 2. Select documents from collection (similar to select in oracle) 3. Insert/Update/Delete data (DML operations in RDBMS). Before moving to the CRUD, lets build an understanding on some terms and terminologies used in respect to MongoDB. Nosql : Database-->Collections-->Documents RDBMS : Database(Schema)-->Tables-->Records(Rows) As I am firm believer in reverse engineering, so I will be going into depth of further concepts of MongoDB i...
Recent posts