Single Table Inheritance
Appearance
![]() | This article needs to be divided into sections. (February 2008) |
![]() | Template:Wikify is deprecated. Please use a more specific cleanup template as listed in the documentation. |
Single table inheritance is a way to emulate object-oriented inheritance in a Relational_database. When mapping from a database table to an object in an object-oriented language, a field in the database identifies what class in the hierachy the object belongs to[1]. In Ruby on Rails the field in the table called 'type' identifies the name of the class.
See also Object-relational mapping
This article has not been added to any content categories. Please help out by adding categories to it so that it can be listed with similar articles. (February 2008) |
- ^ Martin Fowler Patterns of Enterprise Application Architecture, 2003