Role-Based Guides

Developers

Developers

WhoDB is useful during development for inspecting database state, running SQL, generating test data, and validating changes.

Use a dedicated development database separate from production.

Examples:

Bash

createdb myapp_dev

Bash

mysql -e "CREATE DATABASE myapp_dev;"

Bash

touch myapp_dev.sqlite

Connect WhoDB to development credentials, not production write credentials.

Login Form

Inspect Schema And Rows

Open Storage Units.

Storage Unit List

Use Describe to inspect metadata and columns. Use Data to inspect rows.

Explore Table

Data View

This is the main structure-and-data workflow.

Debug With Scratchpad

Open Scratchpad from the sidebar and run SQL with the blue run button or Cmd/Ctrl + Enter.

Scratchpad Query

Useful development checks:

sql

SELECT COUNT(*) AS total
FROM users;

sql

SELECT *
FROM orders
WHERE status = 'failed'
ORDER BY created_at DESC
LIMIT 50;

Scratchpad history opens from the cell history button or the cell options menu.

Query History

Generate Test Data

When supported for a table, open mock data generation from the table/header context menu or press Cmd/Ctrl + Shift + G while the table is focused.

Mock Data Dialog

Use append for most development workflows. Use overwrite only when you intentionally want to replace existing rows.

Append Mode

Edit Development Data

Use row context menus or keyboard shortcuts when your credentials allow writes:

  • Enter or Cmd/Ctrl + E edits the focused row.
  • Cmd/Ctrl + Delete or Cmd/Ctrl + Backspace starts delete for the focused row.
  • Add Row opens a right-side sheet from below the grid.

Edit Row

Export Samples

Use grid export for sample data.

Export Dialog

Export formats are CSV, Excel .xlsx, and JSON Lines for records from sources like MongoDB when supported.

For reproducible local fixtures, prefer native database tools or checked-in seed scripts.

Visualize Relationships

Use Graph to understand relationships before writing joins.

Graph View

Graph nodes render metadata and loaded columns directly in each card.

Current Shortcuts To Know

Area
Shortcut
Action
Global
Cmd/Ctrl + B
Toggle sidebar
Global
Cmd/Ctrl + K
Command palette
Table
Cmd/Ctrl + R
Refresh data
Table
Cmd/Ctrl + A
Select visible rows
Table
Cmd/Ctrl + E
Edit focused row
Table
Cmd/Ctrl + Shift + E
Open export
Table
Cmd/Ctrl + Shift + G
Open mock data
Scratchpad
Cmd/Ctrl + Enter
Run query
Scratchpad
Cmd/Ctrl + U
Clear editor

Docker Development Example

YAML

services:
  db:
    image: postgres:16
    environment:
      POSTGRES_DB: myapp_dev
      POSTGRES_USER: dev
      POSTGRES_PASSWORD: dev123
    ports:
      - "5432:5432"

  whodb:
    image: clidey/whodb:latest
    ports:
      - "8080:8080"
    depends_on:
      - db

Use db as the host in WhoDB.

Scratchpad Introduction

Run and organize SQL.

Mock Data

Generate development data.