Django Conditional Expressions / Case() and When() objects

Published: 18 September 2023
on channel: BugBytes
6,678
313

In this video, we'll show examples of how to perform Conditional Expressions in Django.

These allow developers to perform IF/ELSE logic within database queries, and get back values based on conditions that are defined using Case and When objects.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

▶️ Full Playlist:
   • Django ORM Deep Dive  

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/django...

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Django Conditional Expressions: https://docs.djangoproject.com/en/4.2...

#python #django #webdevelopment #database #sql


On this page of the site you can watch the video online Django Conditional Expressions / Case() and When() objects with a duration of hours minute second in good quality, which was uploaded by the user BugBytes 18 September 2023, share the link with friends and acquaintances, this video has already been watched 6,678 times on youtube and it was liked by 313 viewers. Enjoy your viewing!