feat(sqlite): support loading extension libraries

This commit is contained in:
t8y2 committed 2026-06-01 22:40:29 +08:00
1 parent b4c469a69f
commit 2f1a6875b7
8 files changed
+239 -13

No files matched your search

+5
View File
@@ -111,6 +111,11 @@ export default {
filePath: "File Path",
createDuckDbFile: "Create DuckDB file",
memoryDatabasePathHint: "Use :memory: to create an in-memory SQLite or DuckDB database.",
sqliteExtensions: "SQLite Extensions",
sqliteExtensionsPlaceholder: "/path/to/regexp.dylib\n/path/to/text.dylib|sqlite3_text_init",
sqliteExtensionsHint:
"One .dylib/.so/.dll per line. Use “path|entry point” when an entry point is required. Loaded on connect, then load_extension is disabled.",
sqliteExtensionBrowse: "Select SQLite extension",
user: "User",
password: "Password",
database: "Database",
+5
View File
@@ -110,6 +110,11 @@ export default {
filePath: "文件路径",
createDuckDbFile: "新建 DuckDB 文件",
memoryDatabasePathHint: "输入 :memory: 可创建 SQLite 或 DuckDB 内存数据库。",
sqliteExtensions: "SQLite 扩展库",
sqliteExtensionsPlaceholder: "/path/to/regexp.dylib\n/path/to/text.dylib|sqlite3_text_init",
sqliteExtensionsHint:
"每行一个 .dylib/.so/.dll;需要入口函数时使用“路径|入口函数”。连接时加载,加载后会关闭 load_extension。",
sqliteExtensionBrowse: "选择 SQLite 扩展库",
user: "用户名",
password: "密码",
database: "数据库",
+5
View File
@@ -110,6 +110,11 @@ export default {
filePath: "檔案路徑",
createDuckDbFile: "建立 DuckDB 檔案",
memoryDatabasePathHint: "輸入 :memory: 可建立 SQLite 或 DuckDB 記憶體資料庫。",
sqliteExtensions: "SQLite 擴充庫",
sqliteExtensionsPlaceholder: "/path/to/regexp.dylib\n/path/to/text.dylib|sqlite3_text_init",
sqliteExtensionsHint:
"每行一個 .dylib/.so/.dll;需要入口函式時使用「路徑|入口函式」。連線時載入,載入後會關閉 load_extension。",
sqliteExtensionBrowse: "選擇 SQLite 擴充庫",
user: "使用者名稱",
password: "密碼",
database: "資料庫",