Docs

These guides describe QuackDB 1.0, the previous version. Screens and some features differ in the new native Mac version, which has its own guides.

Go to the new guidesGet the previous version
Docs/SQL Editor (1.0)/SQL Formatting

Format SQL for readability in QuackDB 1.0

Format a SQL query automatically in QuackDB 1.0 so it is easier to read.

QuackDB can automatically format your SQL queries for better readability and consistency.

Before Formatting

select id,name,email from users where active=true order by name

After Formatting

SELECT
  id,
  name,
  email
FROM
  users
WHERE
  active = TRUE
ORDER BY
  name

Press Cmd/Ctrl + Shift + F to format your SQL.

Formatting Options

OptionValues
Keyword CaseUPPERCASE, lowercase, Capitalize
Indent Style2 spaces, 4 spaces, tabs
Line Width80, 120, unlimited

Need help?

Join our Discord community for support and discussions.

Join Discord