Single Table Inheritance Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Cool. But now consider the following:
In a system where I have many different user types instead of just two, I want to be able to identify a user just by Id without knowing what kind of user it is, which is what I want to find out. I would have to look into each and every user subclass table in order to identify what kind of user I am having the Id of. How to do that efficiently?

blackasthesky
Автор

wait. how do you know i'm going to be interviewed for STI? 😮 thank you for the video! 😁

ainorsyahrizal