2006/1/26, Joseph Kocherhans <[EMAIL PROTECTED]>:
> > I'm writing up a draft of this right now. I'll post it sometime today.
> http://code.djangoproject.com/wiki/ModelInheritance

referring to 2. Modeling joins in SQL, why did you use LEFT JOIN instead
of INNER JOIN? as subtypes inherits from supertypes, if you ask for an
ItalianRestaurant record you surely have also one row in Restaurant and
in Place table; so, why the need of a LEFT JOIN?
This of course implies that if you ask for a Restaurant record you will
not have any ItalianRestaurant row (and obviously none
"has_decent_gnocchi" attribute. Yes, there is a typo on the wiki page,
"gnocchi" is the correct spell for that first course ;-)

HAND
(c)
--
Carlo C8E Miron, ICQ #26429731
--
Disclaimer:
If I receive a message from you, you are agreeing that:
1. I am by definition, "the intended recipient".
2. All information in the email is mine to do with as I see fit and
 make such financial profit, political mileage, or good joke as it
 lends itself to. In particular, I may quote it on USENET or the WWW.
3. I may take the contents as representing the views of your company.
4. This overrides any disclaimer or statement of confidentiality that
 may be included on your message.

Reply via email to