StoicBuilder

HandbookV the OfficinaDatabase clients

Vthe Officina, Use the tools

Database clients

1 min readUpdated 28 November

In plain words

A database client, such as the Supabase table editor, TablePlus or 1DevTool, connects straight to your database so you can browse tables, filter rows and run queries.

Where you see it

In Supabase, the Table Editor and SQL Editor are a database client in your browser. Desktop clients connect with the connection string from the Connect button at the top of your Supabase project, and show the same tables in a spreadsheet-like grid.

Supabase, Connect, Session poolerdatabase
postgresql://postgres.abcdefghijkl:[YOUR-PASSWORD]@aws-0-eu-west-2.pooler.supabase.com:5432/postgres
Paste it into the client's new-connection screen. For production, connect with a read-only login instead of postgres.

What goes wrong

  1. Editing live rows by hand

    Double-clicking a cell in production changes it for real, and there's no undo button. Fix data with a query you've reviewed, and try it on staging first.

  2. Pasting the connection string into the agent chat

    The string contains your database password, which opens every table to whoever reads it. Keep it in the client's saved connection, and reset the password if it leaks.

  3. Assuming the dashboard sees what users see

    The Supabase dashboard reads every row, ignoring row-level security. To check what one user can see, switch the role in the Table Editor or SQL Editor, or send a request with their token.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Write a read-only SQL query I can paste into my database client to investigate this bug: the rows involved, joined to the tables that explain them, limited to 20. Explain each line, and don't run anything that changes data yourself.

Quick check

Sign in to earn +10 XP for it

In the Supabase Table Editor you can see all 40 of Maya's notes, but Quill shows her none. What does that tell you?

Got a prompt that touches database clients?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.