Hacker News new | ask | show | jobs
by Rizz 1240 days ago
You could use the name of the foreign key, together with FKs namespaced to the table they are on would allow very expressive joining, and the query might even survive schema changes. ORMs tend to work like this.