Django - F Expressions for database-level operations

Описание к видео Django - F Expressions for database-level operations

This video looks at F Expressions in Django, which can be used to generate SQL expressions that describe the required operation at the database level. For example, F Expressions can be used to filter QuerySets with a condition that compares one column's value to another column's value at the database level.

F Expressions can be used when:
- updating date with update()
- filtering data with filter() and exclude()
- annotating data with annotate()
- aggregating data with aggregate()

And more!

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:30 F Expressions in Django
11:00 F Expressions in filter() functions to compare with other column values
13:03 F Expressions in Django annotate() function
15:32 F Expressions in Django aggregate() function
17:48 refresh_from_db() function in Django

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
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...
🐦 Twitter:   / bugbytesio  

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

#python #django #webdevelopment #database #sql

Комментарии

Информация по комментариям в разработке