Answer the question
In order to leave comments, you need to log in
"Core Entities & Hiers" - a mysterious pattern for inheritance in the database, who will find the source?
On Habré in the comments, I accidentally stumbled upon this way of organizing the inheritance of entities at the level of a relational database:
in the case of restaurants and hotels, you can use the Core Entities & Hiers approach - 1 table - "geo-object" (name, address, type, ...) + 1 table for each type of entity: restaurants, hotels, cheburechnye, ...
Answer the question
In order to leave comments, you need to log in
If I correctly understood the principle of operation, then we are talking about the Class Table Inheritance pattern described by Fowler
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question