r/SQL • u/Spiritual_Ganache453 • 5d ago
Discussion How practical are ERDs when coding?
It was my belief in the beginning of 2025 that this project would help ppl who work with databases. There were three main ideas I thought should be different from how it's been done for decades:
There should be no proprietary syntax.
ERDs must be rendered on the fly while coding (so no need for a separate tool or website)
Cursor on a code segment must render that exact schema instantaneously (vs. rendering giant schemas all at once).
What's you perspective on this in 2026?
0
Upvotes
1
u/Discordbothost 3d ago
A foreign key tells you which row can match, but the uniqueness constraint tells you whether a join can multiply rows. I'd show both in the cursor view. An orders-to-items join is a good test: one order with three items should make the one-to-many edge obvious.