Why MongoDB a popular database and its operations (CRUD)

Mongo DB is a popular database solution & used in large databases. We can use Mongo DB the name MongoDB comes from Humongous because it stores a large amount of data 

  1. Desktop Applications
  2. Mobile Applications
  3. OR We can use it as a Data Scientist

It Can consist of

  1. Stich – is a serverless backend solution
    1. Serverless Query Apis
    2. Serverless functions 
    3. Database Triggers
    4. Real-Time SYNCH

It is very fast & which was the most important to load data on a website / any software building.
With mongo DB we will Perform all Mongo DB CRUD Operations and Relationships. We will learn in this course.

CREATE OPERATION :

insertOne(data,options)
insertMany(data,options)

UPDATE OPERATION

updateOne(filter,data,options)
updateMany(filter,data,options)
replaceOne(filter,data,options)

READ OPERATION

findOne(filter,options)
find(filter,options)

DELETE OPERATION

deleteOne(filter,options)
deleteMany(filter,options)

HOW MONGO DIFFERENT FROM OTHER DATABASES

MongoDBSQL/MYSQL
Contain collection documents contains Java script Objects (name:suraj}Its is schema-less & no need that all parameters in javascript objects are equal like           {name:”suraj”,age:22} and another document like                {name:”sam”}JSONIt is also called NOSqlNO schema/ irregular Schema in MongoDB containing one document with all data Very Fewer Relationships and manually as the database is very fast on searching Atlas(Cloud), Mobile, Compass, BI connectors, MongoDB chars (data scientist) 
Contain Tables contain columns and its name and rows, tuples contain schema similar for each row & columns & very strict and uses SQL queries.SQL schema of connecting different tables through joins Has Large no of relationships between tables

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

codeforbetter will use the information you provide on this form to be in touch with you and to provide updates and marketing.