Getting Started with MongoDB tutorial: Update Data [for beginners]

preview_player
Показать описание
MongoDB Tutorial: Learn how to use different MongoDB update functions, as well as MongoDB matching operators. Part of a MongoDB CRUD series.

This tutorial spans both MongoShell and MongoDB Compass, the GUI for MongoDB. You will be able to use both the GUI and Shell to visualize data and perform operations.

You will learn how to use MongoDB to:
Set values with update
Replace data with update
Rename fields with update
Delete fields with update

MongoDB is a NoSQL database.

For suggestions or comments:

*************
**Tags**
MongoDB tutorial
MongoDB for beginners
MongoDB CRUD
MongoDB basics
MongoDB Compass
MongoDB Shell
MongoDB tutorial for beginners
MongoDB Update Data
Рекомендации по теме
Комментарии
Автор

Thank you very much for the content! It is super clear and helpful!

anastasiiasymvolokova
Автор

Great channel with really awesome contents . Keep up the good work

waelmahmoud
Автор

I can not find the Insert Data video. But thanks so much great series!

LvZ
Автор

how can i remove an element inside an object, i have data looks like this

"Roles": {
"✅": [
"936859884144689162",
{
"id": null,
"raw": "✅",
"Text": " "
}
]
},
}]

i want to remove inside an object by index or by the array name like the first one ✅
let i = args[0];
"i" its the number that i select
let x = Object.keys(data.Roles);


but i dont know how i unset it
dataa.updateOne({},
{
$unset: {y}

},
{multi: true}
);
and thank you

LoX-xv
join shbcf.ru