feat(saved-sql): run queries in the current database

This commit is contained in:
zhangyc authored and GitHub committed 2026-07-31 01:57:39 +08:00
1 parent 4062f11a26
commit e2ba75b102
22 files changed
+501 -51

No files matched your search

+6
View File
@@ -144,6 +144,7 @@ export default {
},
sqlLibrary: {
title: "SQL Library",
openInCurrentDatabase: "Open in Current Database",
empty: "No saved queries yet",
emptyFolder: "Empty folder",
unfiled: "Unfiled",
@@ -4825,6 +4826,11 @@ export default {
continueOnErrorOnBatchDescription: "When enabled, multi-statement execution continues after an error instead of stopping at the first failure.",
confirmUnsavedSqlClose: "Confirm before closing unsaved SQL",
confirmUnsavedSqlCloseDescription: "When disabled, SQL tabs with unsaved edits close or quit without the save confirmation dialog.",
savedSqlOpenTarget: "Default target for saved SQL",
savedSqlOpenTargetSaved: "Saved target",
savedSqlOpenTargetSavedDescription: "Use the connection, database, and schema stored with the SQL file.",
savedSqlOpenTargetCurrent: "Current tab",
savedSqlOpenTargetCurrentDescription: "Use the active tab’s connection, database, schema, and catalog when available; otherwise use the saved target.",
prefillNewQueryWithSelect: "Prefill new query with SELECT *",
prefillNewQueryWithSelectDescription: "When creating a new query, prefill the editor with SELECT * FROM <table> based on the active table tab or the table selected in the sidebar.",
clickTableNavigationTarget: "Ctrl+Click Table Opens DDL",
+6
View File
@@ -146,6 +146,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "Biblioteca SQL",
openInCurrentDatabase: "Abrir en la base de datos actual",
empty: "Sin consultas guardadas",
emptyFolder: "Carpeta vacía",
unfiled: "Sin categoría",
@@ -4586,6 +4587,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "Cuando está habilitado, la ejecución de múltiples sentencias continúa después de un error en lugar de detenerse en el primer fallo.",
confirmUnsavedSqlClose: "Confirmar antes de cerrar SQL sin guardar",
confirmUnsavedSqlCloseDescription: "Cuando se desactiva, las pestañas SQL con ediciones sin guardar se cierran o salen sin el diálogo de confirmación de guardado.",
savedSqlOpenTarget: "Destino predeterminado del SQL guardado",
savedSqlOpenTargetSaved: "Destino guardado",
savedSqlOpenTargetSavedDescription: "Usar la conexión, la base de datos y el esquema guardados con el archivo SQL.",
savedSqlOpenTargetCurrent: "Pestaña actual",
savedSqlOpenTargetCurrentDescription: "Usar la conexión, la base de datos, el esquema y el catálogo de la pestaña activa cuando estén disponibles; de lo contrario, usar el destino guardado.",
prefillNewQueryWithSelect: "Rellenar nueva consulta con SELECT *",
prefillNewQueryWithSelectDescription: "Al crear una nueva consulta, rellena el editor con SELECT * FROM <tabla> según la pestaña de tabla activa o la tabla seleccionada en la barra lateral.",
clickTableNavigationTarget: "Ctrl+Clic abre DDL de tabla",
+6
View File
@@ -145,6 +145,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "Libreria SQL",
openInCurrentDatabase: "Apri nel database corrente",
empty: "Nessuna query salvata",
emptyFolder: "Cartella vuota",
unfiled: "Non categorizzati",
@@ -4586,6 +4587,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "Se abilitato, l'esecuzione di più istruzioni continua dopo un errore invece di interrompersi al primo fallimento.",
confirmUnsavedSqlClose: "Conferma prima di chiudere SQL non salvato",
confirmUnsavedSqlCloseDescription: "Se disattivato, le schede SQL con modifiche non salvate verranno chiuse o usciranno senza la finestra di conferma di salvataggio.",
savedSqlOpenTarget: "Destinazione predefinita per SQL salvato",
savedSqlOpenTargetSaved: "Destinazione salvata",
savedSqlOpenTargetSavedDescription: "Usa la connessione, il database e lo schema salvati con il file SQL.",
savedSqlOpenTargetCurrent: "Scheda corrente",
savedSqlOpenTargetCurrentDescription: "Usa la connessione, il database, lo schema e il catalogo della scheda attiva quando disponibili; altrimenti usa la destinazione salvata.",
prefillNewQueryWithSelect: "Precompila nuova query con SELECT *",
prefillNewQueryWithSelectDescription: "Alla creazione di una nuova query, precompila l'editor con SELECT * FROM <tabella> in base alla scheda tabella attiva o alla tabella selezionata nella barra laterale.",
clickTableNavigationTarget: "Ctrl+Clic apre DDL tabella",
+6
View File
@@ -146,6 +146,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "SQLライブラリ",
openInCurrentDatabase: "現在のデータベースで開く",
empty: "保存されたクエリはまだありません",
emptyFolder: "空のフォルダ",
unfiled: "未分類",
@@ -4577,6 +4578,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "有効にすると、複数SQL文の実行時にエラーが発生しても、最初の失敗で停止せずに後続の文を実行し続けます。",
confirmUnsavedSqlClose: "未保存のSQLを閉じる前に確認",
confirmUnsavedSqlCloseDescription: "無効時、未保存の編集があるSQLタブは保存確認ダイアログなしで閉じるか終了します。",
savedSqlOpenTarget: "保存済みSQLのデフォルト実行先",
savedSqlOpenTargetSaved: "保存時の実行先",
savedSqlOpenTargetSavedDescription: "SQLファイルに保存された接続、データベース、スキーマを使用します。",
savedSqlOpenTargetCurrent: "現在のタブ",
savedSqlOpenTargetCurrentDescription: "利用可能な場合は現在のタブの接続、データベース、スキーマ、カタログを使用し、それ以外は保存時の実行先を使用します。",
prefillNewQueryWithSelect: "新規クエリに SELECT を自動入力",
prefillNewQueryWithSelectDescription: "新規クエリ作成時、アクティブなテーブルタブまたはサイドバーで選択したテーブルに基づき、エディタに SELECT * FROM <テーブル名> を自動入力します。",
clickTableNavigationTarget: "Ctrl+クリックでテーブル構造を開く",
+6
View File
@@ -141,6 +141,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "SQL 라이브러리",
openInCurrentDatabase: "현재 데이터베이스에서 열기",
empty: "아직 저장된 쿼리가 없습니다",
emptyFolder: "빈 폴더",
unfiled: "분류 안 됨",
@@ -4574,6 +4575,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "활성화하면 다중 구문 실행이 첫 번째 실패에서 중지하는 대신 오류 후에도 계속됩니다.",
confirmUnsavedSqlClose: "저장되지 않은 SQL 닫기 전 확인",
confirmUnsavedSqlCloseDescription: "비활성화하면 저장되지 않은 편집이 있는 SQL 탭이 저장 확인 대화상자 없이 닫히거나 종료됩니다.",
savedSqlOpenTarget: "저장된 SQL의 기본 실행 대상",
savedSqlOpenTargetSaved: "저장된 대상",
savedSqlOpenTargetSavedDescription: "SQL 파일에 저장된 연결, 데이터베이스 및 스키마를 사용합니다.",
savedSqlOpenTargetCurrent: "현재 탭",
savedSqlOpenTargetCurrentDescription: "가능한 경우 현재 탭의 연결, 데이터베이스, 스키마 및 카탈로그를 사용하고, 그렇지 않으면 저장된 대상을 사용합니다.",
prefillNewQueryWithSelect: "새 쿼리에 SELECT * 미리 채우기",
prefillNewQueryWithSelectDescription: "새 쿼리를 만들 때 활성 테이블 탭이나 사이드바에서 선택한 테이블을 기반으로 편집기에 SELECT * FROM <table>을 미리 채웁니다.",
sqlVariableSyntax: "SQL 변수 및 자리표시자 치환",
+6
View File
@@ -146,6 +146,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "Biblioteca SQL",
openInCurrentDatabase: "Abrir no banco de dados atual",
empty: "Nenhuma consulta salva",
emptyFolder: "Pasta vazia",
unfiled: "Sem categoria",
@@ -4588,6 +4589,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "Quando ativado, a execução de múltiplas instruções continua após um erro em vez de parar na primeira falha.",
confirmUnsavedSqlClose: "Confirmar antes de fechar SQL não salvo",
confirmUnsavedSqlCloseDescription: "Quando desativado, abas SQL com edições não salvas são fechadas ou o app é encerrado sem a caixa de diálogo de confirmação de salvamento.",
savedSqlOpenTarget: "Destino padrão do SQL salvo",
savedSqlOpenTargetSaved: "Destino salvo",
savedSqlOpenTargetSavedDescription: "Usar a conexão, o banco de dados e o esquema salvos com o arquivo SQL.",
savedSqlOpenTargetCurrent: "Aba atual",
savedSqlOpenTargetCurrentDescription: "Usar a conexão, o banco de dados, o esquema e o catálogo da aba ativa quando disponíveis; caso contrário, usar o destino salvo.",
prefillNewQueryWithSelect: "Preencher nova consulta com SELECT *",
prefillNewQueryWithSelectDescription: "Ao criar uma nova consulta, preenche o editor com SELECT * FROM <tabela> com base na aba de tabela ativa ou na tabela selecionada na barra lateral.",
clickTableNavigationTarget: "Ctrl+Clique abre DDL da tabela",
+6
View File
@@ -146,6 +146,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "SQL 库",
openInCurrentDatabase: "在当前库中打开",
empty: "暂无已保存的查询",
emptyFolder: "空文件夹",
unfiled: "未分类",
@@ -4824,6 +4825,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "开启后,多条 SQL 批量执行时遇到错误将继续执行后续语句,而非中断。",
confirmUnsavedSqlClose: "关闭未保存 SQL 前弹出确认",
confirmUnsavedSqlCloseDescription: "关闭后,有未保存内容的 SQL 标签页会直接关闭或退出,不再弹出保存确认。",
savedSqlOpenTarget: "打开已保存 SQL 时的默认目标",
savedSqlOpenTargetSaved: "保存时的目标",
savedSqlOpenTargetSavedDescription: "使用 SQL 文件保存时记录的连接、数据库和 Schema。",
savedSqlOpenTargetCurrent: "当前标签页",
savedSqlOpenTargetCurrentDescription: "优先使用当前标签页的连接、数据库、Schema 和 Catalog;不可用时回退到保存时的目标。",
prefillNewQueryWithSelect: "新建查询时预填充 SELECT 语句",
prefillNewQueryWithSelectDescription: "新建查询时,根据当前激活的数据表标签页或侧边栏选中的表,自动在编辑器中填充 SELECT * FROM <表名>。",
clickTableNavigationTarget: "Ctrl+点击表名打开 DDL",
+6
View File
@@ -146,6 +146,7 @@ export default withEnglishFallback({
},
sqlLibrary: {
title: "SQL 庫",
openInCurrentDatabase: "在目前資料庫中開啟",
empty: "暫無已儲存的查詢",
emptyFolder: "空資料夾",
unfiled: "未分類",
@@ -4048,6 +4049,11 @@ export default withEnglishFallback({
continueOnErrorOnBatchDescription: "開啟後,多條 SQL 批次執行時遇到錯誤將繼續執行後續語句,而非中斷。",
confirmUnsavedSqlClose: "關閉未儲存 SQL 前彈出確認",
confirmUnsavedSqlCloseDescription: "關閉後,有未儲存內容的 SQL 分頁會直接關閉或結束,不再彈出儲存確認。",
savedSqlOpenTarget: "開啟已儲存 SQL 時的預設目標",
savedSqlOpenTargetSaved: "儲存時的目標",
savedSqlOpenTargetSavedDescription: "使用 SQL 檔案儲存時記錄的連線、資料庫和 Schema。",
savedSqlOpenTargetCurrent: "目前分頁",
savedSqlOpenTargetCurrentDescription: "優先使用目前分頁的連線、資料庫、Schema 和 Catalog;無法使用時回復至儲存時的目標。",
prefillNewQueryWithSelect: "新建查詢時預填 SELECT 語句",
prefillNewQueryWithSelectDescription: "新建查詢時,根據目前啟用的資料表分頁或側邊欄選取的資料表,自動在編輯器中填入 SELECT * FROM <資料表名稱>。",
clickTableNavigationTarget: "Ctrl+點擊表名開啟 DDL",