CareSet / DURC

DURC is reverse CRUD
MIT License
3 stars 2 forks source link

Correctly detect and support one_to_one relationships #1

Open ftrotter opened 6 years ago

ftrotter commented 6 years ago

Frequently the "primary key" of a table is just a foreign key to another table. Make sure this one-to-one relationship type resolves correctly.

What I mean is if there is a "book" table and a "bookextended" table.

The book has a primary key of "id" and the bookextended has a primary key of "book_id".

Specifically, when the key that is a PRIMARY index in mysql is a valid foreign key, it should be loaded one-to-one.

ftrotter commented 4 years ago

Should this be closed now?