mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
feat: wire duckdb through cli runtime
This commit is contained in:
parent
22ad9dca99
commit
460c6fae63
17 changed files with 308 additions and 8 deletions
|
|
@ -321,6 +321,11 @@ function buildConnectionStatus(
|
|||
if (typeof path === 'string' && path.length > 0) return ok(`path: ${path}`);
|
||||
return warn('path not set', 'Rerun `ktx setup`');
|
||||
}
|
||||
case 'duckdb': {
|
||||
const path = (conn as Record<string, unknown>).path ?? (conn as Record<string, unknown>).url;
|
||||
if (typeof path === 'string' && path.length > 0) return ok(`path: ${path}`);
|
||||
return warn('path not set', 'Rerun `ktx setup`');
|
||||
}
|
||||
case 'notion': {
|
||||
const tokenRef =
|
||||
(conn as Record<string, unknown>).auth_token_ref ??
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue