Features

Notebooks

A Querlyn notebook is a Jupyter .ipynb file: query cells and text cells, with each query’s results, charts and plans saved in it, so GitHub, Jupyter and VS Code show it as it was.

Cells that are the full editor

Every query cell has completion, diagnostics, formatting, Explain and the same result grid as a query tab.

  • Run a cell, Run All, or the cells above or below, on one session of the notebook’s connection, so a temporary table one cell makes is there for the next.
  • Results are saved within a stated bound: by default the first 1,000 rows of each result, at most 1 MB each and 16 MB per notebook. The cut is said in the file and on screen.
  • A cell can run on a connection of its own, and a scratch cell joins earlier results by name in Querlyn’s local DuckDB. No server’s rows are ever sent to another server.
  • Parameters are a form at the top: text, numbers, dates, date ranges, true or false, and lists whose choices come from a query. Values are bound, never pasted into the SQL.
  • When you edit a cell or change a value, the results made from it are marked out of date, with the reason. Nothing runs by itself.
  • A result that did not change and only reads is reused instead of queried again, so a warehouse is not billed twice for the same answer.
  • Each query cell says what changed since its last run: “3 rows added, 1 changed”.
  • Masked columns are masked in cells and never written to the file.
A notebook holds text, queries and their results in one file: here a query cell’s result drawn as a chart, between the text that explains it.
A notebook holds text, queries and their results in one file: here a query cell’s result drawn as a chart, between the text that explains it.
A notebook’s parameters are a form at its top (a list read from the database, a date range, a number, true or false), and the query below binds them by name.
A notebook’s parameters are a form at its top (a list read from the database, a date range, a number, true or false), and the query below binds them by name.

Python, pivots and charts

Mix query cells with Python cells, or build a pivot table and a chart from menus.

  • Python cells run in a Jupyter kernel already installed on your Mac. Querlyn installs nothing.
  • A query cell’s result reaches Python as a pandas DataFrame by its name, with exact decimals and masked columns empty. Data travels in memory only, up to 64 MB each way, never through a file.
  • Python never receives a connection’s password, token or key. A notebook from elsewhere runs no Python until you trust it.
  • Pivot tables, charts and filters are cells chosen from menus, on an earlier cell’s result. Show SQL shows the query Querlyn wrote.
  • Querlyn opens Azure Data Studio’s, Jupyter’s and VS Code’s notebooks. Nothing runs and no connection is made when a notebook opens.
A Python cell gets a query’s result as a DataFrame, and its printed text, its plot and its own DataFrame appear under it, the DataFrame in Querlyn’s grid.
A Python cell gets a query’s result as a DataFrame, and its printed text, its plot and its own DataFrame appear under it, the DataFrame in Querlyn’s grid.
A pivot table’s result and, under it, a chart cell with its form: both made from menus in the notebook, without writing SQL, from one query’s result.
A pivot table’s result and, under it, a chart cell with its form: both made from menus in the notebook, without writing SQL, from one query’s result.

Where it stops

  • Python cells were run against ipykernel 7.4 with pandas 3.0 on macOS. They have no completion and cannot ask for input.
  • Pivot, chart and filter cells were run with SQLite results.

Reports, dashboards and scheduled runs

Turn a notebook into something to read, and have your Mac run it again.

  • Export Report makes one self-contained HTML file, or a Markdown report, with or without the queries.
  • Dashboard mode shows a notebook as a read-only page: its parameters on top, its text, charts and tables below, its code hidden.
  • Schedule has your Mac’s own scheduler run a saved notebook every hour, day, week or month, with chosen parameter values, whether Querlyn is open or not.
  • A notebook that may change a Production connection is scheduled only after you tick that connection.
  • A run can post its outcome to Slack, mail its report, or write rows into a Google Sheet. These deliveries have been run only against stand-ins on a developer’s computer, never against the real services.
  • A cell can read a range of a Google Sheet as its result, with a service account key or the Google Cloud CLI: signing in with a Google account in the browser is not built. Sheets over 1 MB of values are refused. Reading a sheet has been run only against a stand-in, never against Google.
  • Built-in runbooks are ready-made troubleshooting notebooks for PostgreSQL, MySQL, MariaDB, SQL Server and ClickHouse. Every query in them only reads.
  • For git: Clear Results for Commit saves the notebook without its results.
The same notebook as a dashboard: its text, charts and tables without the code, with one Refresh.
The same notebook as a dashboard: its text, charts and tables without the code, with one Refresh.
Schedule This Notebook: every Monday and Friday at 07:30 with these parameter values, the report written to a file and sent by email, one result posted to Slack.
Schedule This Notebook: every Monday and Friday at 07:30 with these parameter values, the report written to a file and sent by email, one result posted to Slack.

Where it stops

  • Notebooks were run against PostgreSQL 18 and SQLite. The other engines use the same run path and have not been run in a notebook.
  • No schedule has been installed by a test: the scheduler’s entry is tested as text and through stand-in programs.
  • Querlyn does not write PDF files: print the HTML report from a browser. Results in a notebook are read-only.
  • A notebook has no Kafka, Redis or PartiQL cells.

Next: The application or see the databases Querlyn connects to.