MongoDB - CRUD Operations - Insert or Create Operations

Опубликовано: 06 Май 2026
на канале: Sinzsma
262
0

This is a beginner's video which will help them to learn about CRUD operations in Mongo- In this video specifically you will learn about Create or Insert Methods
Create Operations
Create or insert operations add new documents to a collection. If the collection does not currently exist, insert operations will create the collection.

For doing the Demo alongside the video , let the code from the
https://github.com/Sinikishan/MongoDB...
This is a small repo which helps you to get the understanding of MongoDB

Please see the https://github.com/Sinikishan/MongoDB for supporting documents

MongoDB Community Edition: https://www.mongodb.com/try/download/...

MongoDB Shell : https://www.mongodb.com/try/download/...

MongoDB Compass : https://www.mongodb.com/try/download/...

Mongo DB Installation:    • MongoDB Installation Steps - A Quick Demo ...  


Check out the MongoDB Documentation: https://www.mongodb.com/docs/manual/i...

MongoDB provides the following methods to insert documents into a collection:

db.collection.insertOne()

db.collection.insertMany() New in version 3.2

In MongoDB, insert operations target a single collection. All write operations in MongoDB are atomic on the level of a single document.

Disclaimer:
This video is not made for Monetary benefits and will come under any..
Please check polytechnic.bh for world class education and a wide spread of courses suitable for people in all walks of life

Follow me on GitHub:
https://github.com/Sinikishan

Follow me on LinkedIn :
www.linkedin.com/in/sinirajpulari

Google Scholar:
https://scholar.google.co.in/citation...