Wiki

Articles tagged with "patterns", sorted by viewsX
Displaying 1-1 of 1 result(s).

Single table inheritance

Created about a year ago by samdarkHow-tos6 comments – viewed 13,716 times – ( +31 )
Relational databases do not support inheritance so if we need to represent it, we have to somehow store meta info while keeping performance by minimizing JOINs. One way to solve this problem is using single table inheritance. All fields for the whole class tree are stored in a single table. Class name is stored in the type field of the same table.