mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-15 10:05:33 +08:00
* feat(grid): include database name by default when copying rows as SQL DML (Fixes #12146)
* fix: cargo fmt on ClickHouse database_qualified_table_name test
* test: update expectations for database/schema in table metadata
tableMetaForDataTab now plumbs database/schema from the tab into the
returned metadata (round 175), and buildDataGridCountSql receives the
database for count targets. Update the 6 assertions that still expected
the pre-plumbing shapes.
* fix(grid): support dot-separated quoted table references in INSERT paste parse
Extend readValueToken -> readTableReferenceToken so parseInsertStatementPaste
can skip dotted quoted chains (`db`.`t`, "s"."t", [db].[dbo].[t], with
optional whitespace around dots) before the VALUES match. Add specs covering
backtick/double-quote/bracket chains, spaced dots, and multi-statement input.
Release note: copy as SQL DML now includes qualified database names by default
(v3 migration re-enables the flag for users who unchecked it).
* fix(grid): preserve saved SQL qualifier preferences
* Revert "fix(grid): preserve saved SQL qualifier preferences"
This reverts commit a4e0a47fad.
---------
Co-authored-by: Muse <muse@local>
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>