No video

Complete MongoDB Tutorial #6 - Adding New Documents

  Рет қаралды 146,207

Net Ninja

Net Ninja

Күн бұрын

🐱‍💻 View this course & other premium courses without ads on the Net Ninja Pro site:
net-ninja-pro....
🐱‍💻 Access the course files on GitHub:
github.com/iam...
(lesson code available from lesson 15 onwards)
🐱‍💻 Modern JavaScript Course:
On Net Ninja Pro - netninja.dev/p...
On Udemy - www.thenetninj...
On KZfaq - • Modern JavaScript Tuto...
🐱‍💻 Node.js Crash Course:
On Net Ninja Pro - netninja.dev/p...
On KZfaq - • Node JS Tutorial for B...
🐱‍💻 VS Code - code.visualstu...
🐱‍💻 Download MongoDB - www.mongodb.co...

Пікірлер: 49
@serwatka-w-proszku1657
@serwatka-w-proszku1657 2 жыл бұрын
Insert many code: [{title: "The Light Fantastic", author: "Terry Pratchett", pages: 250, rating: 6, genres: ["fantasy"]}, {title: "Dune", author: "Frank Herbert", pages: 500, rating: 10, genres: ["sci-fi", "dystopian"]}]
@bbbbbbbbbbbbbcreative
@bbbbbbbbbbbbbcreative 2 жыл бұрын
you got a typo. should be : [{title: "The Light Fantastic", author: "Terry Pratchett", pages: 250, rating: 6, genres: ["fantasy"]}, {title: "Dune", author: "Frank Herbert", pages: 500, rating: 10, genres: ["sci-fi", "dystopian"]}]
@ZhugeLiangHD
@ZhugeLiangHD 2 жыл бұрын
my hero
@klasicamosyoutube7927
@klasicamosyoutube7927 Жыл бұрын
THANKS!
@sebinsong5236
@sebinsong5236 Жыл бұрын
Thanks
@QweNomad
@QweNomad Жыл бұрын
thank you
@canklc5772
@canklc5772 Жыл бұрын
Learning a new programming language or tool is really easy as long as there is a Net Ninja tutorial series available on that topic :)
@emimix
@emimix 2 жыл бұрын
You are my new favorite channel for learning now...keep up the good work 👍
@unknownman1
@unknownman1 2 жыл бұрын
Thanks Shaun for what u do for the community.
@Ironmint
@Ironmint Жыл бұрын
Really Appreciate this series of tutorial!!!!I've been searching for a lot and finally get to this one,that's clean and hits the point!
@NetNinja
@NetNinja Жыл бұрын
Glad it helped! :)
@shineLouisShine
@shineLouisShine Жыл бұрын
Thanks! - 04:40 - Brandon Sanderson is 47 years old; Born at Dec 19th 1975.
@abdellahiaioun8430
@abdellahiaioun8430 9 ай бұрын
The least I can do is like and say thank you. I will do this insha'Allah on every video I watch :)
@_rtdp_
@_rtdp_ Жыл бұрын
Insert One Code: { title: "The Color of Magic", author: "Terry Pratchett", pages: 300, rating: 7, genres: ["fantasy", "magic"] }
@santhosh7948
@santhosh7948 Жыл бұрын
Thank you, your explanation is really good, Appreciate
@NetNinja
@NetNinja Жыл бұрын
Glad it was helpful! :) thanks
@BharatBhutiya703
@BharatBhutiya703 2 ай бұрын
good series. thanks!
@ningzhou8397
@ningzhou8397 2 жыл бұрын
another great series! i noticed that you only use mongodb package in this series, in previous (2017) series, you only use mongoose package, just wonder which package is better? i assume mongoose is better if schema is used, right? no need to use both packages in same app, correct? and do we really need schema?
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue 2 жыл бұрын
Hello Shaun! its weird you are not much into Postgres. I actually migrated from mongo to PG because of troubles i was having with relations.
@jijobuje
@jijobuje 2 жыл бұрын
Can you shortly explain this issue for a beginner? What is relations and what are the troubles?
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue 2 жыл бұрын
@@jijobuje mongo is good for starting your projects, and surely is a good db, although for most of the cases an app has many relationships (user info, user data, comments, likes…) and using mongo for that is a big no no. Using a nosql for relationships is not very compatible.
@mindlessmeat4055
@mindlessmeat4055 3 ай бұрын
Can you rearrange the fields? I noticed that the Color of Magic is in a different order than the others.
@omkarneharkar7834
@omkarneharkar7834 Ай бұрын
Help me the cod showing success but it is not reflected in the MongoDB compass
@simply_the_dev7588
@simply_the_dev7588 2 жыл бұрын
Brandon is 46 lol. You should check out Amazon's Wheel of Time which he helped finish the series from Robert Jordan and helped out in the tv show.
@AcidHouse99
@AcidHouse99 Жыл бұрын
Why at the very top it states "5 documents, 1 index" while documents are 7? (Indeed it is stated below that). Just for curiosity.
@raphia2846
@raphia2846 2 жыл бұрын
Alright there, gang
@jrroberts8748
@jrroberts8748 Жыл бұрын
Not sure I like the shell allowing me to use databases and collections that don't exist yet. It is error prone. If I misspell a collection name, it will create a new collection and if I'm not checking, it could lead to a lot of rework.
@dasturchi4541
@dasturchi4541 2 жыл бұрын
Please teach Ajax as well
@ih.shovon997
@ih.shovon997 2 жыл бұрын
love from Bangladesh, I have faced a problem, I can not add pull to refresh with . how can i solve it. help me!!!
@sreenathkumar
@sreenathkumar Жыл бұрын
Is it possible to insert .msg file or .docx in mongodb document?
@kerberos4282
@kerberos4282 Жыл бұрын
in my situation it creating second book collection, so i have 2. don't know why
@johnsegura8009
@johnsegura8009 4 ай бұрын
My professor owes you his paycheck
@cm3462
@cm3462 Жыл бұрын
insertOne: {title: "The Color of Magic", author: "Terry Pratchett", pages: 300, rating: 7, genres: ["fantasy", "magic"]}
@MerinNakarmi
@MerinNakarmi 2 жыл бұрын
If you got excited and want to drop the collection from within the shell before visiting next video, you can try following two options: db.authors.drop() db["authors"].drop()
@S_Saurav
@S_Saurav 10 ай бұрын
completed
@Maheshpatel-fy1tu
@Maheshpatel-fy1tu Жыл бұрын
I like " Net Ninja "
@Eslam-ig2gf
@Eslam-ig2gf Жыл бұрын
🧡
@joaosena284
@joaosena284 Жыл бұрын
I think we have a similar taste for books lol
@narutodihargo
@narutodihargo 11 ай бұрын
00:44= add new Document,
@dawsoncooper9610
@dawsoncooper9610 Жыл бұрын
Hopefully Brandon Sanderson doesn't see this XD
@daniyalkhan3797
@daniyalkhan3797 Жыл бұрын
Notes: db.books.insertOne({}) = This is used to enter one document into collection db.books.insertMany({}, {}) = This is used to enter more than one document into collection
@amjedbelgacem8218
@amjedbelgacem8218 8 ай бұрын
although this comment is late but you forgot to wrap the double brackets inside of []
@Pareshbpatel
@Pareshbpatel Жыл бұрын
{2022-12-28}
@leadgebrat9880
@leadgebrat9880 6 ай бұрын
Brandon is definitely not 60
@MYKhanFromThe90s
@MYKhanFromThe90s Жыл бұрын
I really respect you Mr. The Net Ninja, but the fact that you have given The Color of Magic and The Light Fantastic ratings of 7 and 6 respectively, you have fallen... Oh how you have fallen...
@buidu691
@buidu691 2 жыл бұрын
- db.books.insertOne({ }) : insert document to collection
Complete MongoDB Tutorial #7 - Finding Documents
8:25
Net Ninja
Рет қаралды 119 М.
Learn MongoDB in 1 Hour 🍃 (2023)
1:00:00
Bro Code
Рет қаралды 1 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 11 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 86 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 38 МЛН
Complete MongoDB Tutorial #4 - Using MongoDB Compass
10:29
Net Ninja
Рет қаралды 297 М.
Let's Learn .NET Semantic Kernel
dotnet
Рет қаралды 79
Learn Mongodb aggregation Pipelines | setup
19:59
Hitesh Choudhary
Рет қаралды 69 М.
Complete MongoDB Tutorial #5 - Using the MongoDB Shell
6:18
Net Ninja
Рет қаралды 191 М.
MongoDB in 100 Seconds
2:27
Fireship
Рет қаралды 1 МЛН
MongoDB Crash Course
29:59
Web Dev Simplified
Рет қаралды 677 М.
Complete MongoDB aggregation pipeline course
1:58:14
Hitesh Choudhary
Рет қаралды 48 М.
Complete MongoDB Tutorial #14 - Updating Documents
10:40
Net Ninja
Рет қаралды 80 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 11 МЛН