Тёмный

Complete MongoDB Tutorial #14 - Updating Documents 

Net Ninja
Подписаться 1,5 млн
Просмотров 72 тыс.
50% 1

🐱‍💻 View this course & other premium courses without ads on the Net Ninja Pro site:
net-ninja-pro.teachable.com/p...
🐱‍💻 Access the course files on GitHub:
github.com/iamshaunjp/complet...
(lesson code available from lesson 15 onwards)
🐱‍💻 Modern JavaScript Course:
On Net Ninja Pro - netninja.dev/p/modern-javascr...
On Udemy - www.thenetninja.co.uk/udemy/m...
On RU-vid - • Modern JavaScript Tuto...
🐱‍💻 Node.js Crash Course:
On Net Ninja Pro - netninja.dev/p/node-js-crash-...
On RU-vid - • Node JS Tutorial for B...
🐱‍💻 VS Code - code.visualstudio.com/
🐱‍💻 Download MongoDB - www.mongodb.com/try/download/...

Опубликовано:

 

31 мар 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@henriqueflorencio5275
@henriqueflorencio5275 Год назад
The push and pull operators (with the each) were right on the money! Thanks a lot mate, saved me a day or two over here 😅
@themajesticbeard1497
@themajesticbeard1497 2 года назад
This series couldn't have come at a better time, as I'm looking to start working on a large project and leaning towards the MERN stack. Cheers Shaun, great content and easy to follow, as always!
@bekiteshome4670
@bekiteshome4670 Год назад
is it hard being full stack developer?
@aliwarraich5067
@aliwarraich5067 Год назад
@@bekiteshome4670 not hard, but definitely would take time
@bekiteshome4670
@bekiteshome4670 Год назад
@@aliwarraich5067 how much time does it take yours to become full stack dev.
@aliwarraich5067
@aliwarraich5067 Год назад
@@bekiteshome4670 it depends if you are new to the field, it would take at least six months for you to learn frontend and fundamentals of backend + some projects on both frontend and backend
@aliwarraich5067
@aliwarraich5067 Год назад
​@@bekiteshome4670 for me, its been two years since I first started learning web but I didn't learn all the stack together because of my studies
@user-yy8gb5rw7z
@user-yy8gb5rw7z 2 года назад
good presentation of practical skills
@jeal0uspengu1n
@jeal0uspengu1n 2 года назад
great stuff man!!!
@sadev0
@sadev0 2 года назад
Hey Shaun, It would be great If you add videos about complex queries and relation strategies.
@tobiolaleye3353
@tobiolaleye3353 Год назад
God bless you sensei 🙇‍♂️🙏
@dweebycat9929
@dweebycat9929 Год назад
You're my favourite go-to tutorial!
@NetNinja
@NetNinja Год назад
Wow, thank you! :)
@jtlewis81
@jtlewis81 11 месяцев назад
if only my CST-345 class referenced this series as the curriculum for MongoDB! I could not figure out how to use the shell for MongoDB based on their instructions. Thank you!
@borgaiskender796
@borgaiskender796 2 года назад
After mongodb is there a chance for you to make mariadb? I am so used to your tutorials that it can help me very much seeing it from you :D
@greaper3180
@greaper3180 5 месяцев назад
Thank you very much.
@mitchell4217
@mitchell4217 2 года назад
Is there a scenario with MongoDB or NOSQL in general where you would still use a lookup table? Thinking in this example where we would have a separate lookup table with authors. Then the "author" value would be a reference to the Author Lookup Table's unique ID.
3 месяца назад
I am still a begginner at this so I might be wrong, if so please someone correct me: But I believe, for instance you want to keep address of authors if you keep the author as an nested document it would mean you can have 2 (or more] "Terry Pretchett" with diferent addresses in different books, if you would want to make sure there is only one Terry Pretchett you would need to separate Authors to a different collection and reference by ID
@dhokiarinidh9809
@dhokiarinidh9809 4 месяца назад
Thank you so much sir... You are a great guru (teacher) making others life easier with tech... may God bless you
@NetNinja
@NetNinja 4 месяца назад
So nice of you :) thanks!
@jhonathanmaia386
@jhonathanmaia386 6 месяцев назад
I have a question, I'm new to MongoDb and I came across a situation which is the following. Using your books collection as an example, how would you update a property of your nested array of reviews, let's say you would like to updated the "body" of the first review on for your "The Color of Magic" book , I can't figure how would you do that.
@e-sikshatutorials1015
@e-sikshatutorials1015 10 дней назад
You have used a constant value 8 to update ratings field, but can we code like this segment to update the same value....{rating: rating-1}...??
@fosfatazmotest7657
@fosfatazmotest7657 2 года назад
Hey man great stuff, could you do some cypress tutorials please. Love from Bosnia 🇧🇦
@sadev0
@sadev0 2 года назад
Yup [cypress series by Net Ninja] ++
@mikuronightray5902
@mikuronightray5902 Год назад
There's an error when pulling with $each: MongoServerError: unknown top level operator: $each. If you have a field name that starts with a '$' symbol, consider using $getField or $setField. I simply replaced the $push operator to $pull. Does $each only work for $push?
@a0955383566
@a0955383566 Год назад
you can try this db.books.updateOne({_id:ObjectId("639be6ae4d7ef7d4b96b8cc7")}, {$pull: {genres: {$in: ["1","2"]}}})
@hk254lyt8
@hk254lyt8 4 месяца назад
@@a0955383566thanks. It worked. Is that the new update? In instead of each?
@andromilk2634
@andromilk2634 2 месяца назад
I also tried doing that, I thought it was going to work.
@vinayakram5133
@vinayakram5133 2 года назад
Need mysql tutorials
@Code7s
@Code7s Год назад
👍👍👍
@Pareshbpatel
@Pareshbpatel 9 месяцев назад
Such a clear tutorial on updating MongoDB Documents. Thank you, Shaun. {2023-09-01}
Далее
Complete MongoDB Tutorial #15 - MongoDB Drivers
9:19
Learn MongoDB in 1 Hour 🍃 (2023)
1:00:00
Просмотров 900 тыс.
Lookup in Mongodb aggregation
9:47
Просмотров 12 тыс.
Data Modeling with MongoDB
34:56
Просмотров 104 тыс.
MongoDB Crash Course
29:59
Просмотров 644 тыс.
Complete MongoDB Tutorial #13 - Deleting Documents
5:39
How to FETCH data from an API using JavaScript ↩️
14:17
How MongoDB stores data | mongodb vs oracle
9:25
Просмотров 59 тыс.
Mongoose Crash Course - Beginner Through Advanced
33:36
Learn Mongodb aggregation Pipelines | setup
19:59
Просмотров 47 тыс.
Complete MongoDB Tutorial #12 - Querying Arrays
9:15