// connect with database in the mongo db
use vishalkart
// single item ko insert karne ke liye use karte hai
Like this you can inserrt singl entry in mongo db db.items.insertOne({name:"vishal phone",price:22,rating:4.5,qty:233,sold:98})
// multiple column ko add karna hai... L
db.items.insertMany([{name:"vishal phone",price:22,rating:4.5,qty:233,sold:98},
{name:"T phone",price:122,rating:3.5,qty:443,sold:100}])
Thanks you for commenting your questions. I will see question and respond you.