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
36 reactions
Rafi
@rafi
If you're okay with terminal: $ pg_dump --no-owner --no-comments --schema-only ⊙ You can use -t to narrow down for specific tables ⊙ Configure connection data with PG* env vars or pass connection URI as first arg ⊙ Pipe it to `pbpaste` to store the output in clipboard
0 reply
0 recast
2 reactions