Skip to content
Download

Results and editing ​

Table data and query results appear in the same grid. You open table data by double-clicking a table, view or collection in the explorer, and query results appear under the query editor.

Switch the view ​

Use the Table, JSON and Tree switch at the bottom of the result. The switch changes only how the current page is shown, and the query does not run again. If the page holds large values that QueryLane has not loaded yet, it loads them first.

Query result page with the Table, JSON and Tree switch next to the pager

Dates and times in query results and exports carry your local time offset, such as 2026-10-24T09:30:00+03:00, so a value reads as the time on your clock.

Page through results ​

The pager under the grid moves between pages and sets the page size: 20, 50, 100, 200 or 1000 rows. The default size is set in Settings > General > Rows per page > Connections and queries.

  • In a query tab, QueryLane keeps the result on disk and reads each page from it, so paging does not run the query again. The pager shows the total row count.
  • In a table tab, each page is read from the database. When the exact row count is unknown, the pager shows the current range without a total.

Sort and filter ​

Sorting and filters cover all rows, not only the current page. In table and collection tabs the database does the work.

  • To sort, click the sort icon in a column header and choose Ascending, Descending or Clear sort. The sort stays when you move to another page.
  • In a query tab the sort orders the whole stored result in the same way for every database: numbers by value, dates by time, text ignoring case, empty values last. Export saves the rows in that order.
  • To filter, click Filters (the funnel button) in the toolbar. Add conditions with Filter, nest them with Group, switch each group between AND and OR, then click Apply. Reset removes the filters. QueryLane remembers the filters of each table.
  • A new filter starts with the key field, the primary key or else a unique key (_id in MongoDB), and =, so you only type the value. Choosing a field when no condition is set also sets =.
  • The value field suggests values of the column from the current page as you type, with the closest matches first. The arrow next to it opens the whole list; enum columns list all their values. You can still type any value. Picking a value when no condition is chosen sets =.
  • Show query (the code button) shows the query QueryLane runs for the current view.

In a query tab, filter in the query itself, for example with WHERE.

Arrange columns ​

  • Drag a column header to move the column. QueryLane remembers the order of each table and query; Restore column order in the column menu (the sort icon) brings back the original one.
  • Drag the edge of a header to change the column width. Widths are remembered the same way.
  • To draw vertical lines between columns, turn on Settings > Appearance > Column separators.

Row actions ​

Right-click a row, or select rows with the round selectors on the left and use the toolbar buttons:

  • Show row opens the row as JSON (Show rows for several).
  • Copy as JSON copies the rows.
  • Copy as INSERT and Copy as UPDATE copy the rows as SQL statements for the database of the tab. In MongoDB they are Copy as insertMany and Copy as updateOne. The statements run in the QueryLane query editor and in the database's own tools, including mongosh.
  • Edit opens the row as JSON. Change it and click Save.
  • Duplicate opens a copy of the row in Add row. Change it and click Add.
  • Delete row asks for confirmation, then deletes the selected rows.

In a query tab, Show row and the copy actions are available. A query result does not name its table, so the copied statements use table_name in its place, and an UPDATE finds the row by all of its columns. Export saves the result to a file, see Import and export.

Edit cells in place ​

You can edit data in tables of PostgreSQL, MySQL, SQLite and their compatible engines, and in MongoDB collections. A SQL table needs a primary key or a unique index so that QueryLane can find the row again. Views, query results, ClickHouse tables and local files are read-only.

  1. Click a cell.
  2. Type the new value.
  3. Press Enter or click outside the cell.

The change is written to the database as soon as you finish the edit. There is no separate save step and no undo. If the value is unchanged, nothing is sent. If the database rejects the value, the cell returns to its old value and shows the error.

JSON objects and arrays, long text and multi-line text open in a value editor instead. Edit the value and click Apply, or press Cmd+Enter (Ctrl+Enter on Windows). Apply also writes the value to the database right away. Press Esc to close the editor without changes.

Fields that the database generates or does not allow to change stay read-only.

Add a row ​

  1. Click Row in the toolbar. An empty row appears at the top of the grid.
  2. Fill in the cells. Fields that the database fills in, such as auto-increment keys, are left to the database.
  3. Press Enter or click Save to insert the row. Press Esc or click Cancel to drop it.

Delete rows ​

Deleting is the only change that asks first. Select rows, then click the delete button in the toolbar or choose Delete row in the context menu. Confirm with Delete in the Delete row? dialog.