Code

Changes between Version 44 and Version 45 of ModelInheritance


Ignore:
Timestamp:
12/15/06 06:27:20 (7 years ago)
Author:
Marc Fargas <telenieko@…>
Comment:

Added note about PostgreSQL inheritance

Legend:

Unmodified
Added
Removed
Modified
  • ModelInheritance

    v44 v45  
    336336 
    337337'''SQLAlchemy''' I assume you guys are aware of it and have perhaps already looked into it, but if not (isn't mentioned here, I didn't follow all previous threads on the list) you might want to look at how SQLAlchemy handles this -- fundamentally a bit different of course as SA is not ActiveRecord-ish (without using one of its "extensions") but perhaps still useful. Maybe start here: http://sqlalchemy.org/docs/adv_datamapping.myt#advdatamapping_inheritance  ''-ToddG'' 
     338 
     339'''PostgreSQL''' Please, take in account that PostgreSQL support that kind of inheritance at database level (see: [http://www.postgresql.org/docs/8.1/interactive/ddl-inherit.html]) would be nice that in case one uses postgresql that inheritance to be used instead of the JOIN's approach. Dunno if other databases support inheritance.