DEV Community

Discussion on: Write better queries using values_list in Django

Collapse
sankalpjonna profile image
CH S Sankalp jonna Author

I suppose if there are foreign keys, fetching each record would involve joining of two tables. Instead if you only request for specific columns, that join would be prevented