Displaying 1 result from an estimated 1 matches for "abastract".
Did you mean:
abstract
2009 Jun 29
3
Table Inheritance based on a function
...Table Inheritance'' (STI) Pattern:
http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html
.. through its ''ActiveRecord'' ORM.
The Fowler example mentions a ''type'' column and RoR implements this
directly - which we consider inconsistent with DB abastraction:
It forces a ''type'' column in the database following the application -
instead of the application asking the DB to derive the type _property_
from immanent record properties.
Practically, we would like to have a database function or condition to
control the type.
As a first st...