Changes between Version 6 and Version 7 of ModelInheritance
- Timestamp:
- Feb 22, 2006, 6:08:16 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v6 v7 63 63 === 2. Modeling joins in SQL === 64 64 65 When we want a list of {{{ItalianRestaurant}}}s, we obviously need all the fields from myapp_restaurant and myapp_place as well. This could be accomplished by leftjoins. It would look something like this:65 When we want a list of {{{ItalianRestaurant}}}s, we obviously need all the fields from myapp_restaurant and myapp_place as well. This could be accomplished by inner joins. It would look something like this: 66 66 {{{ 67 67 #!sql