Django Malayalam | Django select_related Examples | Django n+1 Query Problem | Django ORM Join

preview_player
Показать описание
In this video, I'm gonna be showing you what exactly is select_related in Django in Malayalam. We will demonstrate Django select_related by making use of an example project which has two models and these models are related to each other using Foreign Key. We will show you what exactly is the use case of Django select_related by querying the Django models and showing the corresponding SQL queries being executed in the background by making use of django debug toolbar. We will then explain the problems with the default accessing method and specifically about the n+1 query problem in Django ORM. Then, we will fix the n+1 problem using Django select_related. We will also talk about the underlying SQL queries being executed if we use select_related. This video is a part of Django Relationships series in Malayalam and the next video in this Django Relationships series would be Django prefetch_related. Subscribe for more content in Django Malayalam.

Subscribe | Code Band

Other videos in Code Band :

:) You Can Find Me On:
Рекомендации по теме
Комментарии
Автор

Awesome content and explanation. keep going...

litebook
Автор

നിങ്ങൾക്ക് ഏതെല്ലാം languages അറിയാം.... Pls Replay

nihaln