Node JS in Hindi #33 Update Data in MongoDB

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 53

  • @HimanshuKumar-g6b
    @HimanshuKumar-g6b Месяц назад

    you teach extremely well...........♥♥♥

  • @HarshSingh-nd2uq
    @HarshSingh-nd2uq Год назад +2

    Nice Video for clearing concepts of node

  • @lovelymusic3549
    @lovelymusic3549 3 года назад +2

    Sir you are great your teaching method is very good please complete the lecture series as soon as possible love from Pakistan

    • @techin-form
      @techin-form Год назад

      Did you completed?? It's been around 1 year!

  • @ziahaque670
    @ziahaque670 2 года назад +2

    excellent

  • @aakashsoni879
    @aakashsoni879 Год назад

    Thanks for the wonderful explanation.

  • @neha02818
    @neha02818 Год назад

    Thank U Sir for ur teachings

  • @jbvpshreyas1758
    @jbvpshreyas1758 3 года назад

    Please upload complete the lectureseries as soon as possible sir 🎈

  • @fardilviews
    @fardilviews Год назад

    Love from Bangladesh

  • @JainabaBanu
    @JainabaBanu Год назад

    awesome tutorial

  • @sukhmansandhu8872
    @sukhmansandhu8872 Год назад

    Very nice video

  • @rashminavora6268
    @rashminavora6268 2 года назад

    Nice work 👍👍👍

  • @aniketguptaiitkgp6352
    @aniketguptaiitkgp6352 2 года назад

    Nice content ✌️

  • @ersp645
    @ersp645 Год назад +2

    In the 6.x.x version of MongoDB or MongoDB on the cloud, the 'update' operation is not supported. Instead, it supports the 'updateMany' operation for updating multiple data entries simultaneously.

  • @BasantKumar-f5s
    @BasantKumar-f5s 5 месяцев назад

    Nice video

  • @MuhammadUsman-ok5vs
    @MuhammadUsman-ok5vs Год назад

    well explained

  • @MasudRana-nm8zg
    @MasudRana-nm8zg Год назад

    Nice work

  • @AvinashPatil-e3h
    @AvinashPatil-e3h Год назад

    awesome

  • @sharnamkansal4792
    @sharnamkansal4792 3 месяца назад

    Thank you sir 🙂

  • @vibes7287
    @vibes7287 11 месяцев назад +2

    if someone is watching this time ,note that ....change update to updateMany .............its change due to updatat in node...........no thanks......................hehehehe

  • @daxeshchauhan563
    @daxeshchauhan563 2 года назад

    This is a best video

  • @oshikkhitogamer420
    @oshikkhitogamer420 Год назад

    Thanks a lot sir please add javascript also in the caption name

  • @dhruv.561
    @dhruv.561 9 месяцев назад

    nicee

  • @jawadullah4685
    @jawadullah4685 2 года назад

    Anil sir yar in 2022
    new mongdb version we can't use mongo db compass for backend data
    i mean sir i have problem yar

    • @MuhammadQasim-hx5mn
      @MuhammadQasim-hx5mn 8 месяцев назад

      new mongdb version use mongod comand instead of mongo and also we use mongosh for intercting with mongo db for this we will install mongo shell separate

  • @__md_assu
    @__md_assu 11 месяцев назад

    nice

  • @navalsunalvlogs6892
    @navalsunalvlogs6892 2 года назад

    Very informative

  • @rajaahsan5276
    @rajaahsan5276 Год назад

    Sir I have error during compilation the error is updateone is not defined can you please tell me how to. Resolve it

  • @aasthasachdeva1870
    @aasthasachdeva1870 Год назад

    Here update() is not supported so which one I can use ??

  • @World_information5568
    @World_information5568 3 года назад +1

    Dear Sir aur kitni videos aye gi node series ma?

  • @fardilviews
    @fardilviews Год назад

    Great man

  • @shubhtripathi4265
    @shubhtripathi4265 Год назад

    Sir how to update multiple rows with different different condition with we want to execute only one time update function?

  • @AhmedSiddiqui-dz3up
    @AhmedSiddiqui-dz3up Год назад

    done sir

  • @nextgenjaypalsinh9539
    @nextgenjaypalsinh9539 Год назад

    every time insert.js code execute when i change in update.js and save that file, why its happen?

  • @shikhajaiswar1067
    @shikhajaiswar1067 3 года назад

    Sir what if want to update more than one at the same time.

  • @nusratullah1509
    @nusratullah1509 2 года назад

    OutStanding

  • @GulfamRafiqTransport
    @GulfamRafiqTransport Год назад

    in collection there are multiple matches, how can I update 2nd or 3rd match

  • @zeeshanazeem5212
    @zeeshanazeem5212 3 года назад

    How to update data using auto generated record ID?? Please help

  • @mrinalidwivedi4298
    @mrinalidwivedi4298 20 дней назад

    👏🏻👏🏻

  • @BhagyashriTamrakar
    @BhagyashriTamrakar 7 месяцев назад

    lecture 33 completed

  • @mohitpandey4655
    @mohitpandey4655 Год назад

    sir i think we also need to close the connection after every updation
    //require from the index
    const {connectToDatabase,closed}= require('./0index');
    async function update(){
    //connectrodatabase returns a resolved promise till we need to wait
    try{
    const db= await connectToDatabase();
    const result = await db.collection('product').updateOne({name: "xxx"},{$set:{item:"yyyy"}});
    console.log(result)
    console.log('Document inserted:', result.insertedId);
    }
    catch(error){
    console.log(error);
    }finally{
    closed()
    }
    }
    update();

  • @rishavchakraborty9888
    @rishavchakraborty9888 Год назад

    😊