@bytebase/dbhub 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,7 +192,7 @@ DBHub supports the following database connection string formats:
|
|
|
192
192
|
| MariaDB | `mariadb://[user]:[password]@[host]:[port]/[database]` | `mariadb://user:password@localhost:3306/dbname` |
|
|
193
193
|
| PostgreSQL | `postgres://[user]:[password]@[host]:[port]/[database]` | `postgres://user:password@localhost:5432/dbname?sslmode=disable` |
|
|
194
194
|
| SQL Server | `sqlserver://[user]:[password]@[host]:[port]/[database]` | `sqlserver://user:password@localhost:1433/dbname` |
|
|
195
|
-
| SQLite | `sqlite:///[path/to/file]` or `sqlite::memory:` | `sqlite:///path/to/database.db` or `sqlite::memory:` |
|
|
195
|
+
| SQLite | `sqlite:///[path/to/file]` or `sqlite::memory:` | `sqlite:///path/to/database.db`, `sqlite:C:/Users/YourName/data/database.db (windows)` or `sqlite::memory:` |
|
|
196
196
|
|
|
197
197
|
#### SQL Server
|
|
198
198
|
|
package/dist/index.js
CHANGED
|
@@ -2240,11 +2240,13 @@ async function listConnectorsToolHandler(_args, _extra) {
|
|
|
2240
2240
|
function registerTools(server) {
|
|
2241
2241
|
server.tool(
|
|
2242
2242
|
"run_query",
|
|
2243
|
+
"Run a SQL query on the current database",
|
|
2243
2244
|
runQuerySchema,
|
|
2244
2245
|
runQueryToolHandler
|
|
2245
2246
|
);
|
|
2246
2247
|
server.tool(
|
|
2247
2248
|
"list_connectors",
|
|
2249
|
+
"List all available database connectors",
|
|
2248
2250
|
{},
|
|
2249
2251
|
listConnectorsToolHandler
|
|
2250
2252
|
);
|