Help › What's New

What's new in Querlyn 0.1.0

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

Querlyn 0.1.0 is the first version of Querlyn, a database IDE for the Mac. This page lists what it can do. Known limits says what it does not do yet, and what has not yet been tried against a real server or service.

Connect

  • PostgreSQL, MySQL, MariaDB, SQLite, DuckDB, SQL Server, Amazon Redshift, ClickHouse, Oracle Database, Snowflake, Google BigQuery, MongoDB and Apache Cassandra.
  • On MongoDB, write statements in the shell's syntax, with completion of collections, fields and operators; read documents in the grid or whole, as a tree; see plans, transactions on replica sets, and Server Activity. Statements are read, never run as JavaScript, and a Production connection asks before deleteMany({}) or drop(). See Connect to MongoDB and Query MongoDB.
  • On Cassandra and ScyllaDB, write CQL with completion that puts the partition key first; see each table's partition and clustering columns in the sidebar; choose a consistency level for each tab; read collections and exact numbers in the grid, a page at a time; edit rows by their primary key; and see a SELECT's trace as its plan. A Production connection asks before a DELETE of a whole partition, a TRUNCATE or a DROP. See Connect to Apache Cassandra and Query Cassandra.
  • On BigQuery, every run says how many bytes it will read before it runs, a Production connection asks before a large one, and the connection's maximum bytes billed goes with every query. See Connect to Google BigQuery.
  • The databases that speak their protocols, recognized when they answer: CockroachDB, YugabyteDB, TimescaleDB, TiDB, SingleStore, Azure SQL Database, ScyllaDB, and the hosted services Neon, Supabase, AlloyDB, Aurora and PlanetScale. See Connect to CockroachDB, TiDB and other compatible databases.
  • Passwords are kept in the keychain, asked for every time, or fetched from 1Password, HashiCorp Vault, LastPass or Bitwarden when you connect.
  • Reach a database through SSH hosts (any number of hops, with routes taken from your ~/.ssh/config), through Kubernetes, or through AWS Systems Manager.
  • Sign in with AWS IAM or Microsoft Entra ID where the database accepts it, and to BigQuery with a Google Cloud service account key or the Google Cloud CLI.
  • Bring your connections from TablePlus, DBeaver, DataGrip, Azure Data Studio, Sequel Ace, pgAdmin, MongoDB Compass, Docker Compose files or URLs with File › Import Connections….

See Connect to a database and What works on each database.

Write SQL

  • An editor with completion that knows your tables, columns, aliases and joins, and works on SQL that is not finished yet.
  • Completion of a column's values: an enum's members, a check's list, the most common values of a status or a country code, and the keys of JSON documents. Production connections sample nothing until you allow it. See Values of a column.
  • SQL formatting, snippets, find and replace, multiple cursors, folding, refactorings (rename, aliases, CTEs, expand *) and an optional Vim mode.
  • Keep queries as saved queries or as .sql files on disk.

See Write and run SQL.

Run queries

  • Run the statement at the cursor, a selection, or a whole script; cancel a running query; see an execution plan as a tree.
  • Statements with parameters ask for their values before they run.
  • Each query tab has a database of its own: choose it in the bar above the editor, or open a tab from a table in any database of the server.
  • Run one statement on many connections, or on many databases of a server, and read every answer in one grid with a Connection column; compare two of them row by row. Changes made on connections that commit by hand wait for Commit All or Roll Back All.
  • Find what you ran in the query history.
  • Run SQL on your saved connections from a terminal or a script with the querlyn command, with Querlyn's passwords and safety checks; install it with Install Command Line Tool. Its runs are in the query history too. See Run SQL from the command line.

See Run statements and scripts, Choose a tab's connection and database and Run a query on several connections.

Work with results

  • Results load as you scroll, so a result of millions of rows opens at once.
  • Double-click a table to open its rows in a table tab, with a WHERE and an ORDER BY field above the grid. See Open a table's rows.
  • Sort, filter, pin and hide columns; look at one row as a record or one value in full; follow a foreign key to the row it points at.
  • See each column's NULLs and a small histogram under its header, and a column's full profile: distinct values, exact minimum, maximum and mean, quartiles and its most common values. See Profile the values of a column.
  • Copy as CSV, JSON, SQL or Markdown; export to CSV, TSV, JSON, JSON Lines, SQL or Excel; draw a chart.
  • Edit rows in the grid, review the SQL, then apply.
  • Copy any result, or open a CSV, JSON, Parquet or Excel file, into the scratch, Querlyn's own DuckDB database, and query it with SQL: join a PostgreSQL result to a MySQL result. See Query your results and join across connections.

See Work with results.

Notebooks

  • Keep queries, their results and charts, and your notes in Markdown together in a notebook, saved as a Jupyter notebook file (.ipynb) with its results, within a bound you can see. See Work in notebooks.
  • Run a cell, run all of them, or the cells above or below, on one session of the notebook's connection; on Production, Run All asks once, naming the cells.
  • Jupyter's keys, as commands you can change. See Use the keyboard in notebooks.
  • A Welcome notebook on a small sample database of an invented shop, to try notebooks on before you connect your own.
  • Open Jupyter, VS Code and Azure Data Studio notebooks: nothing runs until you run it, and pictures from the web and links that run commands wait until you trust the notebook. See Open notebooks from others.

Change structure

  • Design tables in a form, and see and edit a schema as an ER diagram. Focus gives a diagram the whole window.
  • Compare two schemas of the same kind of database and get a migration script, with renames you pair yourself.
  • Keep snapshots of a schema's structure and see what changed since yesterday or last week, or since any snapshot; compare a schema with how it was, or with the same schema in another environment. See See how a schema changed over time.
  • On PostgreSQL, MySQL and MariaDB, schema changes that would make other sessions wait for a lock are marked in the editor, with the table's size and the safer way to write them.

See Create and change tables and Compare two schemas.

Move and compare data

  • Compare the rows of two tables, on one connection or two, even of two kinds of database, and get the statements that make one like the other. See Compare the data of two tables.
  • See what a change to a query did to its rows: a tab keeps the result of the run before, and Compare shows the rows added, removed and changed, side by side. Any two results of your tabs can be compared too. See Compare two results.
  • Copy tables, or a result, into another connection, of the same kind of database or another: create the tables there, add to them, or replace their rows. The plan lists every column whose values may change on the way. See Copy tables between connections.
  • Import CSV, TSV, JSON, JSON Lines and Excel files into a table that exists or into a new one. An import is all or nothing. See Import data from a file.
  • Back up and restore PostgreSQL, MySQL, MariaDB, SQLite, DuckDB and SQL Server databases. The PostgreSQL programs come with Querlyn. See Back up and restore a database.

Stay safe

  • Each connection has an environment. On Production, Querlyn marks the connection in red, asks before destructive statements and statements it cannot classify, and starts with auto-commit off.
  • Any connection can be made read-only.
  • Dry Run runs an UPDATE or DELETE without committing it, shows how many rows change and each one before and after, and waits for your Commit or Roll Back. After a commit, Revert This Change writes the statements that put the rows back, for you to review. See See a change before you commit it.
  • A tab whose open transaction makes other sessions wait says so, and a transaction left open is pointed out. On Production, Testing and Staging connections, a statement that waits too long for another session's lock is stopped (PostgreSQL, MySQL, MariaDB and SQL Server).
  • View › Toggle Screen-Share Mode hides host names, users and database names before you share your screen, and masks the columns you mark sensitive in the grid, copies, exports and charts. See Share your screen safely.
  • Confirm with Touch ID lets the questions before a change on Production take your fingerprint instead of a click. It is off until you turn it on. See Confirm with Touch ID.

See Stay safe on production.

Watch and manage the server

  • Server Activity lists a server's sessions, and can cancel a query or end a session.
  • The Users and Roles tab lists users, roles and their privileges, and creates, changes and drops them, with the SQL shown before it runs. See Manage users, roles and privileges.
  • The statement console lists every statement Querlyn sends, its own included.

See See what runs on the server.

Make Querlyn yours

  • Choose the Keymap of DataGrip, VS Code or TablePlus in Settings and Querlyn's commands take that tool's keys; change any shortcut yourself. See Change keyboard shortcuts.
  • Light and dark themes, two densities and adjustable text sizes. See Change settings.

Help and updates

  • Help is built in: it works without a network connection and shows your own shortcuts. Help › Querlyn Help opens it, and ⌘? on macOS or F1 on Windows and Linux opens the topic for the tab or dialog you are in.
  • Help › Keyboard Shortcuts lists every command with its shortcut.
  • Querlyn › About Querlyn shows the version and build, and copies them for a support request.
  • Querlyn › Check for Updates… looks for a newer version. Querlyn also checks by itself, tells you with one line at the top of the window, and installs a new version only when you choose Install and Relaunch, after checking that it is a genuine Querlyn release.
  • Help › Report a Problem… puts what support needs into one report. You read every file before anything leaves your computer, with passwords, names, addresses and SQL removed, then send it from your account or save it and email it.
  • Help › Acknowledgements lists the open-source software Querlyn is built with, with each license.

See Get help, Report a problem and Update Querlyn.

Account, sync and teams

  • Sign in to your Querlyn account to activate a license on this computer.
  • Sync (Preview) keeps connections, saved queries, snippets and settings the same on your computers, encrypted so that the server cannot read them.
  • Teams (Preview) share connections, saved queries and snippets in encrypted workspaces, with members, a policy and an activity log.
  • Both are previews because their encryption has not yet had an independent security review, and both are off until you turn the preview on in Settings.

See Your account and license, Sync your computers and Work in a team (Preview).