Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Starting from the other end, what is missing in SQL to make it more general purpose?


Generic foreign keys / Polymorphic relations. I.e. table Foo can either point to table Bar or table Xuul.

This type of relation shows up quite a bit, and either leads to application-level workarounds, or having to add many duplicate tables for the same "thing".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: