Skip to content

@sqlrooms/db / createCoreDuckDbConnection

Function: createCoreDuckDbConnection()

createCoreDuckDbConnection(overrides?): object

Parameters

ParameterType
overrides?Partial<{ id: string; engineId: string; title: string; runtimeSupport: "browser" | "server" | "both"; requiresBridge: boolean; bridgeId?: string; isCore: boolean; config?: Record<string, string>; }>

Returns

NameTypeDescription
idstring-
engineIdstring-
titlestring-
runtimeSupport"browser" | "server" | "both"-
requiresBridgeboolean-
bridgeId?string-
isCoreboolean-
config?Record<string, string>Engine-specific configuration (e.g. dsn, account, warehouse).