QueryDeck Docs
Connections

Connections overview

How the sidebar list, groups, colors, and Touch ID work together.

For: everyone.

Every connection you save lives in the QueryDeck sidebar. This page covers the layout, color-coding, and the safety net that keeps you from running a DELETE on production by accident.

The sidebar list

The sidebar shows every saved connection grouped by status:

  • Connected — green dot, the connection is active.
  • Saved — no dot, the connection is ready to open.
  • Recently opened — pinned to the top of the list for fast switching.

Click a connection to open it. Cmd+click opens it in a new tab so you can compare two databases side by side.

Groups and colors

Each connection has a color. Pick one when you save the connection, or change it later from the connection editor.

The convention we recommend:

ColorUse for
RedProduction. Anything you don't want to break.
OrangeStaging or pre-production.
GreenLocal dev, sandbox, throwaway databases.
BlueRead replicas, analytics warehouses.
Purple, pink, yellowWhatever makes sense for your project.

The color appears in three places:

  1. As a dot next to the connection name in the sidebar.
  2. On the toolbar at the top of every query tab opened against that connection.
  3. On the connection badge inside the query editor.

When you're in a red toolbar, you know to slow down before hitting Cmd+Return.

Touch ID gate

Connections marked as sensitive prompt for Touch ID every time you open them. To enable:

  1. Open the connection editor.
  2. Toggle "Require Touch ID to open" at the bottom.
  3. Save.

The next time you click the connection in the sidebar, QueryDeck prompts for your fingerprint before it actually connects. If you decline or the Mac doesn't have Touch ID, the connection stays closed.

This is independent of your Mac's login. Touch ID here is a per-connection gate, not a session gate.

Reorder, duplicate, delete

Right-click any connection in the sidebar for the full menu:

ActionWhat it does
EditReopen the connection editor for this connection
DuplicateCreate a copy with the same fields. Useful for staging vs production from one template.
DisconnectClose active sessions without removing the connection
DeleteRemove the connection. The password is wiped from the Keychain at the same time.

Drag to reorder. The order is saved per machine.

Where are credentials stored?

Hosts, ports, usernames, and database names are saved in QueryDeck's local config. Passwords go into the macOS Keychain under com.querydeck.app. They never sit in plaintext on disk.

See Credentials and Keychain for the full security model.

What's next