Re:Our SQL interview questions
by megaman821 on Tuesday May 28, 2013 @06:16PM
(#5783225)
It is fetched dynamically e.g. employee.boss.department. That will usually cause two more queries to the database. You can use select_related and prefetch_related so that these objects will be loaded into the ORM in one or two queries.
[ Parent
| on HN ]
There are no comments on this comment yet.