How to Write Complicated Queries in Django With F Expressions

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • In this video I talk about to write F expressions in Django. These allow you to use multiple fields in your model together in one query.
    Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted....
    Get the code here: prettyprinted....
    Twitter: / pretty_printed
    Github: github.com/pre...

КОМЕНТАРІ • 21

  • @pythongabi
    @pythongabi 2 роки тому +4

    Awsome! More in depth videos on django orm would be great, cuz beginner level videos are everywhere but not that much advanced ones. Thanks.

  • @antonkroosh3624
    @antonkroosh3624 3 роки тому +2

    Thanks, and it would be cool if u make video about select_related and prefetch_related

    • @prettyprinted
      @prettyprinted  3 роки тому +1

      I thought I made videos about those already, but I guess I haven't. I'll look into it.

  • @ashar9327
    @ashar9327 3 роки тому +1

    Thank you is not enough , really we appreciate your time and effort 🌹

  • @SilkThreadDev
    @SilkThreadDev 9 місяців тому

    good video bro! thanks

  • @steve4718
    @steve4718 3 роки тому

    Wow, this is so nice. Never heard of "F Expressions" until seeing your video pop out from the notification bell.

  • @thing2know
    @thing2know 2 роки тому

    It's super Tutorial....I have a doubt regarding django forloop
    My doubt is suppose I have two different models one is image post and second one is article post ...how to print both models data in one forloop....please make a video related this query...thank you

  • @donolar_jamiyati
    @donolar_jamiyati Рік тому

    Great as always, thank you very much!

  • @majetysaiabhinesh7239
    @majetysaiabhinesh7239 Рік тому

    Understood 😊

  • @pratyushbehere3580
    @pratyushbehere3580 Рік тому

    Nice short video.

  • @i_love_a_lil_drama
    @i_love_a_lil_drama 3 роки тому

    Great explanation. Thank you.

  • @ke30_
    @ke30_ 3 роки тому

    Thank you very much

  • @ermalgashimramori
    @ermalgashimramori 3 роки тому

    Great as always, thank you very much!

  • @symphonysalameh5587
    @symphonysalameh5587 2 роки тому

    please do a video where u code about
    -Time on site
    -Pages per visit.
    -Bounce rate
    -Returning visitors
    for admin analytics reports i am new to django and this things are advance

  • @RomuloMagalhaesAutoTOPO
    @RomuloMagalhaesAutoTOPO 3 роки тому

    Thanks, very useful.

  • @macenkajan
    @macenkajan 3 роки тому

    Dies the query happen in the Database or is the data retrieved from the DB and calculated in Python?
    Question points to: how does this scale for big databases/tables?

    • @prettyprinted
      @prettyprinted  3 роки тому +2

      The query happens in the database. Django converts the F expression into an SQL statement (unless you do something crazy with your Django query).

  • @hossamashraf4885
    @hossamashraf4885 3 роки тому

    Great Video thanks

  • @lokthar6314
    @lokthar6314 2 роки тому

    Amazing!

  • @aashayamballi
    @aashayamballi 3 роки тому

    Thank you..

  • @learnertube6218
    @learnertube6218 2 роки тому

    Well explained