dbx/apps/desktop/src/lib/sql
二丫讲梵 5c281b1653
feat(editor): 支持 SELECT * 展开为字段列表
*  feat(editor): 支持将 SELECT * 展开为字段列表

- 新增右键菜单及 `Mod+Shift+X` 快捷键,可展开 `*` 和 `别名.*`
- 基于语义分析识别单表来源、别名及原始引用符,并按数据库方言处理字段名转义
- 优先读取本地或远程表字段元数据,单表纯星号查询可回退使用执行结果字段
- 增加字段加载失败提示及多语言文案
- 补充星号展开、结果匹配和快捷键注册测试

* fix(editor): selectStar 回退加词边界检查并记录加载失败

---------

Co-authored-by: t8y2 <t8y2@users.noreply.github.com>
Co-authored-by: skyler <1156263951@qq.com>
2026-08-06 00:55:36 +08:00
..
clickhouse feat(sql): add ClickHouse function completion 2026-07-31 14:38:50 +08:00
semantic feat(editor): 支持 SELECT * 展开为字段列表 2026-08-06 00:55:36 +08:00
autoFormat.ts feat(editor): auto-detect JSON and XML formatting 2026-08-02 09:01:48 +08:00
cloudflareD1.ts
currentStatementFrame.ts fix(editor): preserve current SQL execution boundaries 2026-08-04 00:37:42 +08:00
editableQueryHiddenKeys.ts
executableStatementRangeCache.ts fix(editor): preserve current SQL execution boundaries 2026-08-04 00:37:42 +08:00
externalSqlFileTarget.ts fix(sql): remember external file data sources 2026-08-05 01:20:43 +08:00
httpSqlFileProgress.ts feat(export): support database setup and batch SQL scripts 2026-07-24 23:52:10 +08:00
insertValueHintColumns.ts fix(sqlserver): align insert hints with generated columns 2026-07-20 02:29:28 +08:00
insertValueHints.ts fix(editor): optimize large PL/SQL source rendering 2026-08-03 14:25:45 +08:00
newQueryContext.ts feat(db): 支持 VictoriaMetrics 数据库 2026-08-05 23:58:11 +08:00
oracleCompletionSession.ts fix(oracle): restore alias completion and DIP visibility 2026-07-22 01:14:56 +08:00
queryCursorTableTarget.ts feat(oracle): add TNS connections and trigger editing 2026-07-23 23:03:45 +08:00
queryError.ts
queryExecutionState.ts
queryResultSource.ts
queryTimeout.ts
sqlAnalysis.ts fix(grid): support Unicode aliases in editable queries 2026-07-30 12:32:23 +08:00
sqlBatchScript.ts
sqlCompletion.ts feat(editor): 支持 SELECT * 展开为字段列表 2026-08-06 00:55:36 +08:00
sqlCompletionLookupTarget.ts fix(sqlserver): honor USE context in completions 2026-07-31 21:22:31 +08:00
sqlDiagnostics.ts
sqlExecutionTarget.ts fix(editor): preserve current SQL execution boundaries 2026-08-04 00:37:42 +08:00
sqlFileOpen.ts fix(sql): prevent oversized SQL editor loads 2026-07-28 23:59:34 +08:00
sqlFormatter.ts feat(editor): auto-detect JSON and XML formatting 2026-08-02 09:01:48 +08:00
sqlFormatterConfig.ts
sqlHighlighter.ts
sqlIdentifier.ts fix(gaussdb): quote identifiers by compatibility mode 2026-07-29 23:34:58 +08:00
sqlInListPaste.ts fix(editor): honor keyword case when pasting IN values 2026-08-02 10:08:22 +08:00
sqlMetadataRefresh.ts
sqlNavigation.ts feat(oracle): Ctrl/Cmd+click 打开存储过程源码 2026-08-05 23:57:50 +08:00
sqlParameterHistory.ts
sqlParameters.ts fix(sql): preserve Oracle database link references 2026-08-02 16:03:41 +08:00
sqlQuoteCaret.ts
sqlRisk.ts
sqlSelectionCase.ts fix(editor): preserve literals during SQL case conversion 2026-08-05 11:10:15 +08:00
sqlServerQueryWrapping.ts
sqlSnippetTemplates.ts fix(editor): 内置 SQL 补全模板按数据库方言适配 2026-07-24 23:51:35 +08:00
sqlStatementRanges.ts feat(db): 支持 VictoriaMetrics 数据库 2026-08-05 23:58:11 +08:00
sqlTextFingerprint.ts
sqlVariableSyntax.ts
sqlVariables.ts
statementDelimiter.ts fix(editor): preserve current SQL execution boundaries 2026-08-04 00:37:42 +08:00