CRUD Overview in MongoDB
Show More Show Less View Video Transcript
0:00
In this video we are discussing crude overview
0:04
Now what is crude? So crude is nothing but in MongoDB the basic operations are create, read, update and delete
0:14
And these are known as the crude operations. So C stands for create, R stands for read, U stands for update and D stands for delete
0:24
So create, read, update and delete. So these are the very fundamental operations on MongoDB
0:29
Create operation. So, create or insert operations are used to add new documents into the collections
0:39
We know that MongoDB is a document-oriented database. So, under the collections, it will be having multiple documents
0:48
So create or insert operations are used to add new documents to the collections
0:53
If the collection does not pre then the collection will get created one is the read operation so this operation reads the documents from the collections we know that the collections will be having multiple documents and this read operation will read from the
1:09
documents this operation is used to take output of a query next we're having the
1:18
third operation that is the update operation it is used to modify existing
1:23
documents. So, documents will have the key value pairs. So, if you want to update, then this
1:28
particular operation will be executed on the documents. To change or update something in the
1:34
documents, we need to use this very operation. The last operation is our delete operation
1:41
to erase the documents from the collections, we have to use this respective delete operation
1:48
From the very name, it is quite obvious that we are going to delete our documents from the
1:52
collections. So, this is the crude operations and we'll be going for more details about them in the next
1:58
successive videos. Thanks for watching this
#Programming

