Changes between Version 44 and Version 45 of ModelInheritance
- Timestamp:
- Dec 15, 2006, 8:27:20 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v44 v45 336 336 337 337 '''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.