rent
ReferenceCommand line

rent studio

Use rent studio to inspect schemas, tables, columns, primary keys, and rows without writing a query. PostgreSQL, MySQL, MariaDB, and SQLite use the same interface.

Open a database

rent studio
Rent Studio

URL    http://127.0.0.1:5555
Mode   read only

Studio opens the default browser and remains attached to the terminal until you press Ctrl+C. The listener always binds to the loopback interface.

Choose another port

rent studio --database-url 'sqlite://rent.db' --port 7331
Rent Studio

URL    http://127.0.0.1:7331
Mode   read only

Use --no-open when a script, development container, or terminal multiplexer should start the server without launching a browser:

rent studio --no-open

Enable editing

Studio is read-only unless --allow-writes is present:

rent studio --allow-writes
Rent Studio

URL    http://127.0.0.1:5555
Mode   editing enabled

An edit must name a catalog-known column and provide every field in the table's primary key. The update is parameterized and must affect exactly one row. Tables without a primary key cannot be edited.

Options

  • --database-url <URL> deliberately overrides the project .env or DATABASE_URL environment variable.
  • --dialect <postgres|mysql|sqlite> overrides URL-based dialect inference.
  • --port <PORT> selects the loopback port. The default is 5555.
  • --no-open leaves browser navigation to you.
  • --allow-writes enables primary-key-targeted cell updates.

On this page