Dan Romero pfp
Dan Romero
@dwr.eth
What's the best way to get a Postgres database schema into Claude to ask it to write queries?
20 replies
0 recast
37 reactions

Nicholas Charriere pfp
Nicholas Charriere
@pushix
What I do is a _little_ manual but not too bad. 1. Open a psql shell 2. Run \d (list all tables) 3. For each table run \d table_name 4. Copy everything from top to bottom, and feed it into the LLM as context. Will build perfect queries
0 reply
0 recast
2 reactions