Django - select_for_update() function / Locking Database Rows

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

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

  • @bugbytes3923
    @bugbytes3923  7 месяцев назад +1

    ORM Playlist link: ruclips.net/video/EsBqIZmR2Uc/видео.html

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

    You are best teacher.. Love from India..

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

      Thanks a lot and greetings from Scotland!

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

      @@bugbytes3923 would love to visit someday! 😁

  • @jackoffjames3751
    @jackoffjames3751 Год назад +3

    Brother... try to upload more videos about django channels, signals, custom Middleware...

    • @bugbytes3923
      @bugbytes3923  Год назад +5

      I have it all planned 😄 Just need to find time to prepare stuff.

  • @mithileshgautam6737
    @mithileshgautam6737 10 месяцев назад +2

    Thank you, you helped me in my interview. 🙌

    • @bugbytes3923
      @bugbytes3923  10 месяцев назад +1

      That's awesome - good luck and I hope you get the job!

    • @mithileshgautam6737
      @mithileshgautam6737 9 месяцев назад

      @@bugbytes3923 Got the Job Bro!! Thanks 😄

  • @ashrayshiva9484
    @ashrayshiva9484 11 месяцев назад +1

    In-depth explanation. Gold stuff.

  • @dmitrymikhailovnicepianomu8688
    @dmitrymikhailovnicepianomu8688 Год назад +1

    I like this level of intensity! Thanks.

  • @alexdubkov6998
    @alexdubkov6998 Год назад +1

    Super usefull. Thank you for your django and htmx videos!

  • @daviddehoog9269
    @daviddehoog9269 11 месяцев назад +1

    Thank you for another great video! I think this one might have ended up out of order in your playlist. Should this be the video after the atomic() function video, rather than the video before?

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

      Ah - thanks a lot for pointing that out David! Really appreciate it, as I'd never have noticed 😄Fixed it now!

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

    this tutorial is great my friend🔥🔥

  • @seydinaoumarsamabaly1806
    @seydinaoumarsamabaly1806 Год назад +1

    Great content !

  • @khalilbenmeziane8836
    @khalilbenmeziane8836 Год назад +1

    thank you

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

      You're welcome, thanks for watching!

  • @New_User-m6t
    @New_User-m6t Год назад +1

    Thank you❤ sir

  • @frameff9073
    @frameff9073 Год назад +1

    thank

  • @sha999-u4s
    @sha999-u4s Год назад

    hi, do you have solution for Like:
    Multiple table field Sum calculation from parent model ---------- to get stock qty each product (stock qty= purchase_qty - purchase_return_qty - sales_qty + sales_qty )

  • @rakeshmali1727
    @rakeshmali1727 5 месяцев назад

    also does select update works with LIMIT? say I only want to select and lock 1 row

  • @psymon25
    @psymon25 6 месяцев назад

    but product on line 29 was never implemented or am i mad????

  • @rakeshmali1727
    @rakeshmali1727 5 месяцев назад

    if there are concurrent 100 requests and they all try to select and update 10000 rows, then the first request locks all these 10000 rows while other 99 requests wait, right?

    • @DhavalAhir10
      @DhavalAhir10 2 дня назад

      Yes all other 99 request wait till one got finished.

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

    thank you