Skip to content

Releases

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 12:25
d755982

Changelog

Features

  • da3af99 F24.1: TestTypes sets its session time zone; CI runs in UTC, so timestamptz showed +00
  • 59ee0f3 F24.1: move the file DSN rule to db
  • af8d9ed F24.1: the DuckDB dialect, PG's reading of SQL
  • fb36420 F24.1: the libduckdb binding and the connection
  • c6b9120 F24.2 f: on Linux DuckDB is behind the duckdb tag and ships as its own _duckdb archive; the default Linux build stays static
  • 1d93c29 F24.2: DuckDB in the connections, the forms, the tree and the command line
  • 6148296 F24.2: review fixes: EXPLAIN ANALYZE is dangerous, a BLOB[] is no BLOB, a failed COMMIT has rolled back, one instance by the real path
  • 2bb1fce F24.2: review of 6148296: a save is all or nothing in a transaction, USE stays in the file's database, a COMMIT of a failed one says ROLLBACK, windows loads the library by its full path, DuckDB's words are DuckDB's alone
  • 7276c1e F24.2: second review of c6b9120: every statement is checked for leaving the file's database, only a save fails the transaction, a library that is too old is not kept
  • 991f5fc F24.2: the DuckDB engine: catalog, SQL words, quick SQL
  • 784f4dd F24.3: review of 97abab8: what waits for libduckdb dials what it was, a relative library is the config's, a short decline toast
  • 8a20f5d F24.3: second review of 784f4dd: a download refused, cancelled or failed drops the command line's SQL for its connection; TestCancel takes a cancel that comes before the library runs the statement
  • 06a33c4 F24.3: with no libduckdb to load, the connection asks to download it
  • 97abab8 F24.4 b: DuckDB in the README, docs and CHANGELOG: where libduckdb comes from, the Linux _duckdb archive, CGO_ENABLED=0 for a static build from source; brew and npm descriptions name DuckDB and fit brew audit's 80 characters

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:10
a29d967

Changelog

Features

  • 384bcfb F22.1, F22.4: the layout and tab.reopen keep the turn while the JSON view is open; yp leaves every counter and generated column to the database, and a refusal comes before any change; f12.7 filters the new glyphs
  • 8fc8f8e F22.11: tree.wider / tree.narrower / tree.fit (> < = on the tree) set the sidebar's width by the key, as a drag does (PR #20's idea)
  • 88f8d21 F22.12, F22.13: a disconnected connection reads nothing on its Meta (gd and a late page no longer crash, gd dials it again); a dial that comes in after the disconnect is discarded; tests for what disconnect drops and for the page's key read (reviewer, node 5)
  • e5aa1dc F22.12, F22.13: a page on its way when its connection is disconnected is dropped (it started a count on a Meta that is gone); a foreign key with no referenced columns says so and does not jump (Codex, PR #22)
  • 9cf27b4 F22.12: conn.disconnect closes a connection's Main and Meta and drops its catalog and key index, its tabs stay and dial it again when they ask (issue #12)
  • 1d06cb4 F22.13: gd and the cell menu's item follow a foreign key to the referenced row, through --where's open (issue #11); the grid reads the table's keys once a page is in
  • 11f46c6 F22.14: a connected connection's node has a connected mark after its name, in focus color, and a disconnect says Disconnected ; the goldens of every tree with a connection gain the mark
  • 784b840 F22.1: the JSON view gives the table's turn back when it closes
  • 9688470 F22.2: the sort chip draws arrows that point as the list's: nf-fa-arrow_up / arrow_down
  • c057677 F22.3, F22.4: a row with a binary column is not cloned after the read-only toast; the e2e scripts follow the menus' keys, the new sort glyphs and the generated column left out of p
  • 0d20001 F22.3, F22.4: context menus draw each item's key; 刷新 on the connection, database and schema; 添加行 / 删除行 / 克隆行 on the grid's cell, and yp = grid.row.clone
  • da83347 F22.5, F22.6: the palette's scope tabs scroll as a pane's tabs do when they do not fit; English Key :; 关闭 in a tab's menu shows its pane's x
  • 31ad2fb F22.5: the palette's keys are a scope of their own, : (palette.key); the all and tables' scopes list none; the scope starts the index of the db it is on and says how it stands under the list
  • 0aea389 F22.6: tab.pin, tab.close.others / left / right, and the tab's right-click menu; menu keys look in NORMAL too
  • 961b6f1 F22.6: the result area has no batch close; ascii pins a tab with ^; one toast for the tabs a batch close leaves
  • 34051ed F22.7: a folded sidebar takes no column; the » that brings it back is the status bar's first block
  • e18ed9c F22.8: a list the typing filtered empty is not drawn; the box of a foot alone is the Redis index's, asked for with Complete.Alone (regression of F21.7)
  • 0c502f1 F22.8: the box of the index's row alone only while the index is not there or failed; a cut or renewed one that has nothing of the name draws none
  • 955f77e F22.9: sqlserver:// and mssql:// URLs on the command line open a temporary SQL Server connection named @ (issue #19); a test over the engines list keeps the next engine from being left out
  • e08b4d5 F22.9: the database of a sqlserver:// URL is read in any case, as the driver does; F22.11: a test of TreeNode.Width over what Draw puts down (reviewer, node 4)

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 12:52
2634dc5

Changelog

Features

  • eae2a01 F21.0: every just recipe builds and formats with the Go of go.mod (GOTOOLCHAIN)
  • 10d9353 F21.1: just db-clean drops the databases crashed tests left
  • c23a469 F21.1: make just check pass on WSL as root
  • d2ffa8b F21.1: the Redial test names pgx's own words again; dbclean.sh picks its pid and names per run
  • 47700a9 F21.2: default_connection picks the connection a start names none for
  • 2175e6f F21.3: --sql runs one statement in a new query, --schema picks its schema
  • 9da01dd F21.3: f11.1 expects the usage line that lists --schema and --sql
  • 2978c31 F21.3: self-review fixes — an empty --sql is an error, the dialed database counts for --schema db.schema, connections.toml is read for default_connection only when it is written
  • 126199b F21.4/F21.5: self-review fixes — border_focus_style = "" follows border, a delta with a repeated key is not zeroed by update, a FLUSH empties the file when no index is in memory, a connection name is escaped for any file system
  • 558ff71 F21.4: the index of a Redis db's key names is kept in a file and used at the next start
  • 72982aa F21.5: border_focus_style gives the focused pane and the overlays their own lines
  • 24fb6b7 F21.6: [pane] outer_nav = auto hands pane.focus. at the edge to the outer tmux
  • ff7f709 F21.7: a key typed while the index is first made has its box, one dim row: the index is being built, or why it could not be
  • fe73900 F21.7: review fixes — the tree yields to the first index only (also its first batch), a redial of Meta clears the index error, the failed row names the key that builds it again, f21.7 times the connect-and-type case
  • 92e4cf9 F21.7: the tree loads a batch a request, the commands come first, the index batches go first and are timed from when they run
  • 3def415 F21.8: TestIndexFile does not assert the 0600 mode on Windows, which has no group/other bits

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:10
17500ac

Changelog

Features

  • 8caa324 F20.10: a key list made in the background begins at a column of its line, as the one made at once does (it was the offset in the text on a later line, which panicked drawing it); random keys with late answers keep the list's start before the cursor
  • 070ef83 F20.10: the random-keys completion test drives a SQL query tab too (columns that come late), a few seeds by default (2s), SQLMUX_FUZZ_SEEDS=N for more
  • c706e42 F20.11: the key-name index starts with the first word a console completes and is read by SCAN COUNT 10000, as the prefix hints are (61 round trips to 7 over a far server); the docs that come after a word was typed complete it; benchmark of typing over 60000 names of a team's shape
  • fce9ce3 F20.1: Redis key names complete from a per-db index with the tables' matcher and highlight (: starts a word): built a SCAN batch at a time up to index_keys, the tree's keys when it read the whole db, dropped by a write or R; the list says how many of the db it has
  • d04d8fe F20.1: a key typed after another matches among what the one before matched, and the matcher's word-start and prefix checks no longer copy each name; a benchmark of the typing over 100000 names
  • d9877c3 F20.1: what a key typed on goes by is kept in the order of the names, so ties come out as typing all at once; tests for the list the done index refreshes, the foot's row, the tokens left out of what is kept, and the start guard
  • 9e441da F20.2: the tree's filter on a Redis db lights the hit in the match color in each namespace and key name it is in (not a glob, not across the delimiter)
  • 608dc01 F20.3: a query goes on from the last one's key matches only when that holds (not after ! or $, not when a | is added); tests for a key picked into a landing page, the keys of a connection that is down or an index being made, and a ? in a name
  • c4c1cfe F20.3: the palette's @ and all scope list the keys of the Redis dbs whose index or tree has read them, matched once per query among the last one's matches and cut to the best 500, opened as the tree's ↵ does; typing asks the server of nothing
  • 8aff297 F20.4: tree cursor stays put when the sidebar opens, [tree] follow = true restores the jump
  • 751075c F20.5: clipboard = "unnamedplus" puts the editors' unnamed register on the system clipboard
  • 579ff9c F20.5: nvim-checked unnamedplus cases over a fake g:clipboard; the clipboard's block type kept by the provider's cache, "_ and "" as nvim has them, a read waits for the writes before it
  • cd48207 F20.5: say where the global switch and the unordered write/read stop, and what follow now covers
  • b3cf057 F20.6: every overlay's border and title are checked to be border_focus
  • 960e825 F20.6: the gaps are the theme's gap (pane_bg), the focused border and the overlays' border_focus (focus), tokyonight-storm's border brighter (#565f89)
  • 5021abb F20.7: ristretto is a built-in theme (go:embed), a themes/ristretto.toml of the user's still wins
  • 129fd41 F20.7: the doc of Themes says which built-in themes it holds
  • 520d70f F20.7: under icons = "ascii" a theme icon's non-ASCII text is ignored, its fg still applies
  • 2e5e6e6 F20.8: a write the console or the quick SQL ran changes the key index by one EXISTS of its keys (FLUSHDB / FLUSHALL empty it); an index made again, on R or for a write whose keys are not known, is made in the background with the old one used meanwhile; the match of key names in the completion and the palette goes in a Cmd over a snapshot and is dropped if it is not the last ask's
  • d04df77 F20.8: writes the key tab and the tree's menu do, and the writes that come while an index is made (replayed over it when done), go into the index; SWAPDB makes it again; a ↵ while the match of a word is on takes the selected one of the list that comes, in the console and the quick SQL; narrowsTo drops the | clause; the count of a capped index does not grow by a key that was there
  • 6dc7de3 F20.9: esc in the tree with a filter kept goes back to the filter input as / does, the text as it was; with no filter it does what it did

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 23:07
db779de

Changelog

Features

  • 33976e8 F19.1: --table and --where open a table of the start's connection once its catalog is in, the options read before and after the connection; the exit leaves last.toml as it was
  • 1e393f4 F19.1: a table of the command line never reads last.toml, and its --where goes into the table's WHERE history by the function a typed one does
  • 4c9f13e F19.2, F19.4: the dots of a request on its way (status busy, run placeholder, count, connecting) on one 150ms tick that runs only while there are some; a table under a page keeps its count as '3 行' where the bar is narrow
  • b0d2cd7 F19.3: TestGoldenProduction golden, the spaces after the pane buttons carry the button's style
  • fcc6e8b F19.3: a pane button is its icon and the column after it for the hit and the hover; tests for the split directions, the icon of each action and the ascii unzoom
  • 1dd698a F19.3: four buttons at the right of every window pane's title: split right, split below, zoom / unzoom, close; icons split_right, split_below, unzoom (§7.7, §7.8)
  • d4cc68a F19.4: the first page under LIMIT is the count: no COUNT is sent and PAGE is 1/1 at once; F19.2: tests for the frames of the run placeholder, the count, and the connection and database nodes
  • dafa9ea F19.5: tree.toggle follows DataGrip's tool windows: folds from the tree back to the pane it came from, else focuses the tree, else opens it with the focus; « folds, » opens and focuses
  • 87741d5 F19.6: the brew and npm descriptions say SQL Server

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 15:27
dbfed2b

Changelog

Features

  • 4fb0f62 F18.10: the key tab's MATCH input is drawn on its own row, under the Info row: Draw hands InputRect the whole bar
  • efaad23 F18.11: the tree filter's SCAN takes COUNT 10000 and stops when the filter changes; db nodes stay with a dim 搜索中… while it runs
  • a8721b9 F18.12: deleting a connection in use asks with the number of tabs it closes, then closes them in every session, the empty panes with them, and starts the sessions on what is left
  • b9fbe9d F18.12: the deleted connection's workers are closed in a Cmd, the question says a transaction going is rolled back (the sentence quit and close use), and a test for two of its tabs in one pane
  • 8ef6d04 F18.13: the form composes a sqlserver:// DSN for mssql and the driver reads mssql:// too; the form's error row wraps to the form's width and the box grows with it
  • bcd1011 F18.14: tree.delete (dd) on a connection node deletes it as the manager does; its right-click menu gets Edit… and Delete…
  • 89fc9fc F18.1: review fixes — the lock test off, the comment right
  • b34d7e6 F18.1: windows build and the state.json lock
  • ab1db18 F18.2: review fix — fileSafe in one place, of the standard library
  • 4ba6b5e F18.2: review fixes — cmd's own quoting, the editor path out of the shell, export names
  • 74f546e F18.2: windows paths and subprocesses
  • c1b66fe F18.3: review fixes — the spec's two UTF-8 PowerShell commands
  • 17c6ef6 F18.3: the windows clipboard row
  • ad67421 F18.4: the CI checkout is LF on windows too
  • d40e054 F18.4: the fake formatprg tests skip without their tool
  • 73d5223 F18.4: the format test warms powershell up first
  • 999afee F18.4: the format test's second timeout line off
  • d82b6e9 F18.4: the formatprg diagnostics off
  • b86c0e1 F18.4: the formatprg failure test says its toast
  • f78b90a F18.4: the formatprg test waits out a cold powershell
  • 8b36fa6 F18.4: the justfile comment says six
  • 69aa6b3 F18.4: the npm job takes the windows zips
  • fd1a383 F18.4: the release builds six binaries
  • 6cd661d F18.4: the rerun arrival is compared from a second behind
  • 1a6efbf F18.4: the rerun arrival waits the clock out
  • 2753a2b F18.4: windows in the release and CI
  • af641a9 F18.6 j: Same's arms in one pair of parentheses
  • a04cb78 F18.6: mssql in the connections, the tree and the forms
  • be51832 F18.6: the MSSQL dialect
  • 6d455a8 F18.6: the SQL Server engine
  • 5a539cc F18.6: the SQL Server of the tests
  • 84ff8c0 F18.6: the bit's arm takes a true or a false, nothing else
  • 5a8588c F18.6: the engine reads by the loop, and says what the server says
  • 0887d9e F18.6: the pages and transactions a T-SQL engine asks for
  • 92f0ac5 F18.6: the password form's golden has mssql too
  • ff79763 F18.6: the paths the words take are tried
  • c52c2a5 F18.6: the read loop is db.EachRow's alone
  • 883e9b6 F18.6: the seed's sqlcmd is the image's entrypoint to set
  • a736af2 F18.6: the test's keyword dsn at the port the integration dsn has
  • b829217 F18.6: the top and the for are T-SQL's words to watch
  • b9c76d0 F18.6: the words a T-SQL statement answers to
  • 54a1d15 F18.8: the palette's query preview takes the dialect from Conn.dialect(), so a Redis connection no longer panics it
  • cc5f8fc F18.9, F18.11: the empty list is judged by history and favorites both empty; the filter's scan context is each window's and esc cancels it; tests for the error path and the dim colors
  • f4cbbd9 F18.9: C-r opens the WHERE history list with one dim "no history" row when it and the favorites are empty

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 05:27

Changelog

Features

  • 6eb390f F17.15 c: the turned view sets one record's width, the cursor's (> and < start from the width it is drawn at, the other records as they were; the │ at the right of a record's number drags that record; = gives back the columns' widths and the records'; transpose_widths by number on the page in the layout file, transpose_width of before is not read)
  • 5673422 F17.15: column width in the turned view (> and < set the one width of every record, = gives it back, kept on the tab and in the layout file as transpose_width, the records' numbers row has the edges to drag; the columns' own widths untouched)
  • ea19156 F17.15: review fixes (one place registers the │ edge, one setColWidth keeps 1 at least in both views, the drag's bounds checked once, no dead s.row >= 0; tests: cursor's own record width, no records, result tab turned)

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 05:41

Changelog

Features

  • ca332c8 F17.10: Preview's placeholders are known by where they came from (marks with a NUL for the kept value and score), not by what the text reads, so a member called NaN or a value that reads is shown as it is
  • 2c26db6 F17.11: a statement sqlmux sends that the command cut is run on as pages of itself (select * from (…) limit n offset m) until a page is short, up to 100000 rows; a page as long as the cut is taken as cut too, the command cannot tell its wall from the end; a user's query stays cut and says so
  • f7cb877 F17.11: an exec item that says truncated is a truncated result, as one cut at maxRows is
  • 631a299 F17.11: review of node 4 — the quick SQL's statement is not paged (a context value Quick sets, Query reads), the end of a page run is its length alone: a short or empty page ends it whatever it says of being cut
  • ca7d529 F17.12: an exec PG connection has the database level (Engine.Databases is the one current_database() says; the tree shows it, the default, on the connection's own Conn)
  • 18f1e5c F17.13: a list emptied reads back as nil, so taking the last schemas line out of a block no longer fails the readback check (a pick of all again could not be saved)
  • ed393f5 F17.13: a test of picking all again after the only schemas line was written
  • a95c3cf F17.13: environment — TestLoadDocs reads the start of SET's line (Redis 8.10 added IFEQ and the like), the nvim golden's version line is v0.12.6
  • 52847da F17.13: openPick sets the fixed schema before the one loop that reads it (the second loop was dead: the schema names go to is always loaded)
  • e425d14 F17.13: pick which databases and schemas the tree lists and loads (connections.toml databases / schemas written back in the block, the COLS list over the tree with a title, tree.pick in the right-click menu and the palette, the catalog's Tables / Functions / Sequences asked for the picked schemas only, picked/all after the name)
  • 1d4b459 F17.13: review of node 5 — the schema list keeps one picked (the schema names go to: current_schema(), public when none; MySQL's DSN database) and loads it whatever the setting names, a list left with none writes nothing; tests for the catalog's Functions and Sequences, the load's own all, MySQL's note, every session, a temp connection, the note of what is loaded, a click outside, column keys in a pick list, a catalog not read, the note's color
  • 198e631 F17.14: a result tab's heads can be dragged for the width too (Grid.Edges apart from Heads: the heads are click targets for sorting in a table tab only)
  • efd4e34 F17.14: manual column width (C-w > / C-w < / C-w = on the column the cursor is on, a count for the steps, widths kept by name on the tab and in the layout file as col_widths, the │ between two heads dragged with the mouse; a column with a width is not squeezed, capped or sized by its values; a turned grid has none)
  • f16b2c9 F17.14: tests of the drag — the region is the │ drawn (not a cell to its left), a move with a column dragged redraws the frame and the │ follows the pointer, the drag takes its pane's focus
  • cb86eb0 F17.14: the column width keys are > / < / = (the user's call after trying C-w > / C-w < / C-w =); the C-w ones are gone
  • 7d5ea0b F17.14: the edges test's switch as ifs (lint: exhaustive)
  • d6c1f18 F17.1: a tab bar that does not hold its tabs scrolls: the current one in sight, ‹N and N› for the others, clicks on them scroll a screen (§7.8)
  • 40a7295 F17.2, F17.3, F17.4, F17.6: review of node 1 — windows by two i18n keys, the quick SQL's history and forgotten hints whether or not the palette is open, one rule for RunSafe, a temporary Redis connection named by the db it connects to, the preview's vim keeps the panes' keys out, the wheel's list by the hit table
  • 481f5a5 F17.2: the quick SQL of a Redis connection runs a command on Main as the console does: replies as rows, writes kept back when read-only, dangerous ones asked, completion as the console's, kept in history.jsonl (§12, §9.8)
  • 3ee3e6a F17.3: a redis:// or rediss:// URL on the command line opens a temporary Redis connection named db@ (§14)
  • bf27547 F17.4: the 'connecting' toast of a new session goes when it is connected, '1 window' is singular, the keys reference names no feature or section of the design (§7.8, §6.7)
  • 002925d F17.5: four engines in the formula's and the npm package's description, --version from the module and vcs stamps and no (none, unknown), LICENSE in each npm package, -s -w in the formula's ldflags (§15)
  • b998661 F17.6: the wheel scrolls the palette's preview over it and the list over the list; palette.preview.focus (C-o) puts the focus in the preview, a read only vim, esc back to the list (§12)
  • b078f41 F17.7, F17.8: review of node 3 — the exec Redis scan asks no TYPE (generic key icon, the tab asks its own), an exec PG lists no other databases, a redis command needs {args...} as an item, Inline reads strings and comments with sqlkit.Scan, one runCommand for both runs, tests for the tag, an item's err, the stderr tail and the manager's list
  • 0ea8c9d F17.7: engine exec, PG dialect: a command runs each statement (internal/db/exec), the catalog, paging and quoting are postgres's over it, read only, no connect form for it (§8.8, §14)
  • d5c2878 F17.8: engine exec, Redis dialect: go-redis over a pipe that this package answers by running the command per request (RESP2 from its JSON), one db, read only, the same tree, key tab and console (§8.8)
  • 93c8d72 F17.9, F17.10: production connections (marked in the border, status block and tab titles, read only unless read_only = false is written, every write asked about under the connection's name, a form switch) and a save that shows its statements first (db.Preview and Source.Preview, one question for production whatever preview_save says)
  • 74cf0f8 F17.9, F17.10: review of node 2 — a Redis preview is plan run on the key as the tab loaded it (a reader for plan, Describe gone), the statements' order written once (db.builders), a golden and an INSERT in the preview, tests for the production title, line breaks, border color over zoom, the form's production switch, a blank TTL said as no expiry
  • 8baeb8c F17.9, F17.5: a blank or 0 TTL on a production connection is asked as no expiry (the blank arrives as 0, so the text is chosen by the TTL), the formula's desc and npm's description under brew audit's 80 characters

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 17 Oct 15:43

Changelog

Features

  • 8041bd1 F16.11: a kind icon and color before each completion candidate, an icon before each right-click menu item, none in ascii menus (§7.6, §7.7, §9.7); the Redis key type's json icon is now jsonview
  • a454866 F16.11: keyword and value glyphs as the user's blink.cmp has them, no function icon, the menu's JSON item reuses the key type's json icon, which keeps its name (§7.7)
  • b0251d0 F16.11: range loops in the menu icon color test (lint)
  • f7b55f5 F16.11: tests for the menu icon colors, the WHERE and Redis-without-DOCS candidate kinds, value and CTE kinds; drawMenu looks the icon up once and sets only the picked row's color

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 08:05

Changelog

Features

  • 796e39e F16.0: node 1 review fixes — Conn.driver() and its fallback to eng gone (the fixtures that need a driver set drv), db.Query.Desc and its branch in Select gone (the tab turns the default order into an Order of the key columns, the page tests say it so), the ORDER toast names the column, format.go asks sqlkit for its statements beside its dialect again, two test nits
  • 6eda9bb F16.0: the SQLite page test orders t_log by its rowid, the key a table with none has (the column id it had by mistake is a string literal there)
  • edfe722 F16.0a, b: db.Source under the table tab — SQLTable wraps the statements of Page, Count, Select and Save (Meta or Main as the mode says, a savepoint in a transaction, a read-only connection's save refused); the tab's fetch, count, save and export go through it, cursor paging keeps the cursor of each page seen, Count -1 shows ?, Columns.Sortable and NoInsert gate ORDER and a new row; the fake Source test and the per-engine SQLTable test
  • 2f0dac6 F16.0c, d: db.Driver (Connect, Broken, ErrorOf) split out of Engine, the driver table, Conn.drv with eng only for a SQL engine, counted.Unwrap; the run pipeline of a query (statements, read-only and dangerous judgments, the page and its LIMIT, what resets the schema, DDL, a transaction's end, no BEGIN before) behind the lang interface with sqlLang; what hint, format, templates and the query's highlight ask of the engine stays SQL's, to be given its own language where a second one is (F16.4, F16.5)
  • 8547fd6 F16.10: the dbs of a Redis server go by number in the tree, the DSN's among them and open, not first (§7.8)
  • 96c5fe4 F16.1: Redis connects — internal/db/redis (go-redis v9, one connection not a pool, RESP3, no retries and no read timeout, a cancel closes the connection so a blocked command ends and the Worker dials again, db.Conn's Exec of console lines with redis-cli's splitting and Query of one command, replies as tables, Driver's ErrorOf and Broken, WithDB for a child db, ssh through Options.Dialer); engine = redis, [redis] delimiter / scan_keys / load_all and the connection's delimiter; the form's redis engine, db row and PING test; the redis icon; nothing SQL's is asked of a connection with no engine (catalog, completion, hints, gq, quick SQL, cell filter, INSERT yank, the WHERE's, a run says it cannot yet); redis-stack-server in docker-compose and ci, testdata/seed/redis.txt, SQLMUX_TEST_REDIS
  • 2f5a1aa F16.1: a tunnel whose ssh has ended is a lost connection for every engine, so the next request dials again (db.NetworkError knows the ssh failure; it has no Unwrap, go-redis strips one level off a handshake error)
  • 54be5cc F16.2: a Redis key's delete is asked about (Delete key ?, confirm_dangerous), the menu item and dd alike (docs 934065c)
  • 024e97c F16.2: review fixes — the tree's filter result is each window's own (treeState.found), one SCAN loop for Scan and Each, just check runs the Redis tests (SQLMUX_TEST_REDIS), and tests for what the mutations left alive: the DSN's db listed, UNLINK 500 at a time (unlinkAll), typing in the filter asks, the cursor goes to the first key, the test button's PING, a cancelled dial is not a lost connection
  • c8378ab F16.2: the tree of a Redis connection — dbs as connections of their own (db0 with its size), under a db the namespaces of its keys' names by the delimiter ([redis] delimiter, the connection's over it) with how many keys each holds, then the keys with the icon and color of their type; a db is read by SCAN on Meta (never KEYS, the type of a batch in one pipeline) up to scan_keys and says what it read of how much there is; the tree's filter asks the server (SCAN MATCH, a * at each end unless typed) after the typing stops; a key is deleted, renamed (a taken name asked about) or given a TTL, a namespace deleted after finding every key under it and the question of the true number, UNLINK 500 at a time, C-c says how many went; R on a db reads it again; icon names str hash list set zset stream json in [icon]; the header counts keys
  • 03338f8 F16.3: Rebuild reads about load_all of a hash or set (the HSCAN / SSCAN calls counted) and returns the error of a read that is refused
  • d70b0f1 F16.3: Rebuild reads the entries of a hash or set as they come, scanLoop gives LoadAll of them and no more
  • 9b7c129 F16.3: a key read by HSCAN or SSCAN pages by LIMIT whatever a batch holds (the cursor of a page cut in the middle of a batch is cursor:skip)
  • f47f919 F16.3: review fixes — Quote checks the text's UTF-8 once, not per byte; Rebuild reads a hash or set by HSCAN / SSCAN up to load_all (scanLoop, shared with the page) and returns what failed; Save's checks tell a nil (the row is gone) from any other error, which is returned as it is; glob compiled once per filter and [!a] no longer a negation (Redis has only [^a]); RedisJSON integration tests (skipped without the module); tests for load_all's edge, a string's count, WRONGTYPE, the TTL in a rebuild, the change a failed command names, the key tab restored, the TTL chip
  • f00e536 F16.3a: a Redis key as a table — Key reads a string, hash, list, set, zset, stream or JSON value as rows (whole when up to load_all, else by HSCAN / SSCAN / ZRANGE offset / LRANGE / XRANGE cursor; Redis glob filter and sort locally), writes the changes back under WATCH comparing every old cell, exports up to scan_keys (ErrTruncated), rebuilds the key as commands; Columns.NoUpdate
  • 07223e3 F16.3b: a Redis key opens in a tab (↵ on it in the tree, the menu's Open) named for it, on Key as its source, with the Info row over MATCH (type, length, TTL, encoding, memory; TTL, rename and delete run on the key of the tab and the tab follows the name); layout keeps kind = "key", its key and db and no page
  • 8e3b59c F16.3c: the JSON view of a key tab is the key's own value by its type (hash an object, list and set arrays, zset [member, score], stream {id, fields}), the DDL view is the commands that make it again (Key.Rebuild, read anew each time), an export past scan_keys is a part of the key and says so, a key's state name is connection/db/key; goldens of every type's tab
  • b3a6443 F16.4: a Redis console line goes again after a reconnect only when every command of it carries the server's readonly flag (lang.Reruns; PUBLISH, EXEC, PING and what the server did not list do not), as §8.7 says
  • 9135d31 F16.4: a command the server lists as read-only goes again when the connection was lost under it (the console runs it safe, a write keeps its error and the toast to run it); the palette leaves out the quick SQL on a Redis connection
  • 25110bf F16.4: the console of a Redis connection — a command a line (redisLang: # and blank lines none, ↵ on the line the cursor is on), the commands the server lists (COMMAND, loaded once with the db) say what a read-only connection keeps back (write, may_replicate, scripts, administration) and what is asked about (@dangerous); a reply is laid out as a table (arrays of arrays of one length by column, a sorted set's pairs member / score), held whole and paged in memory, exported whole without running again; C-c on a blocking command; highlight by the server's command names; the db in the title is a dropdown of db; a line with a password is not kept in the history; gq is not offered by the palette for it
  • 35cf9f7 F16.4: the console waits for the server's commands (COMMAND is asked first, ahead of the scan of the keys, and a run before it answers says so and does not go); the completion's names are forgotten after a command that writes and when the db is read again
  • 82ad643 F16.4: the pointer of the rerun rule is §8.2
  • a9510dc F16.5: a server with no COMMAND DOCS completes the names COMMAND lists
  • c384691 F16.5: the completion tests of the keys do not depend on the hash seed of the server (db0 has more keys than the rounds read; all of them are asserted in a db of the test's own)
  • 178fd20 F16.5: the console completes and says what a command takes — COMMAND DOCS read with the commands (Doc, Arg: the signature line of a command, [] for what may be left out, … for what is given again, oneof and blocks; where the next word goes, by tokens, blocks and what is given again), the signature line with the current argument lit (a blank between the fields), candidates for command names, subcommands, the tokens of an argument, the keys of the db (a few rounds of SCAN MATCH once the typing stops) and a hash's fields (HKEYS up to load_all), quoted when they have to be; a server before 7 completes the names alone
  • 484cfc1 F16.6: the arrow keys of the grid and the tree are in default.toml, vim mode as well as not (nvim's NORMAL has them); default-novim.toml keeps PgUp / PgDn / Delete and the query's keys; the hints of vim = false still name the arrows first
  • 8d5f70a F16.8: s in the JSON view is a flash-style jump over its text, as in a query (§6.10, §6.4)
  • ac9726c F16.8: the jump's tests hold the nearest match and the gutter out; the text area of a JSON view in one place (§6.10)
  • ff01374 F16...
Read more