logoalt Hacker News

rtkweyesterday at 9:21 PM2 repliesview on HN

How do you present the interrelations between the tables when you're dealing with complex table structures?


Replies

simlanyesterday at 9:46 PM

Prompting with documentation and examples works. In an agentic tool having an MCP server for the db helps assuming it is a straightforward schema with explicitly defined relationships. Also helps if the tables correspond to entities in a natural way.

lateforworkyesterday at 10:51 PM

Use a tool to do that. Try https://visualdb.com it can send the relationships and table definitions to AI.

show 1 reply