StoicBuilder
Later missionMission 19: Look at the real rowsYou can practise it now. It counts once you reach mission 19, after “Call the API yourself”.Back to HQ
Exit lesson
A database clientProLesson 15 of 45, about 7 min
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
0 XP

The app: Ledger, a database client

Ledgersaved connectionNot connected

Quill, production

Hostdb.quill.example
Port5432
Databasequill
User
Password•••••••• saved in Ledger

postgres owns the database: it can change or delete any row.

The SQL Ledger sends, and who it’s connected as

Connection not connectedpostgres
Not connected yet. Ledger will connect with:
postgres://postgres:@db.quill.example:5432/quill
The owner: can change or delete anything, every row at once.
SQL nothing sent yet

Ledger sends SQL once it’s connected. Every click becomes a query.

The MagisterLeft: Ledger, a database client. It talks straight to Quill’s production database, with no app in between. The saved connection uses postgres, the owner, who can change anything. Switch the user to quill_readonly, then press Connect.

Step 1 of 7Connect as the read-only user
  • Connected as quill_readonly

You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.