You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/build/orm/inheritance.rst
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,13 @@
3
3
Mapping Class Inheritance Hierarchies
4
4
=====================================
5
5
6
-
SQLAlchemy supports three forms of inheritance: **single table inheritance**,
7
-
where several types of classes are represented by a single table, **concrete
8
-
table inheritance**, where each type of class is represented by independent
9
-
tables, and **joined table inheritance**, where the class hierarchy is broken
10
-
up among dependent tables, each class represented by its own table that only
11
-
includes those attributes local to that class.
6
+
SQLAlchemy supports three forms of inheritance:
7
+
8
+
* **single table inheritance** – several types of classes are represented by a single table;
9
+
10
+
* **concrete table inheritance** – each type of class is represented by independent tables;
11
+
12
+
* **joined table inheritance** – the class hierarchy is broken up among dependent tables. Each class represented by its own table that only includes those attributes local to that class.
12
13
13
14
The most common forms of inheritance are single and joined table, while
14
15
concrete inheritance presents more configurational challenges.
0 commit comments