DuckDBInitOptions
このコンテンツはまだ日本語訳がありません。
Defined in: db/duckdb.ts:32
How initDuckDB should source the DuckDB-wasm worker/wasm assets.
The app (which owns a bundler) resolves the self-hosted asset URLs and
passes them in via bundles; uneri itself stays bundler-neutral and never
references ?url/new URL(..., import.meta.url). When bundles is omitted
the legacy jsDelivr CDN path is used so existing consumers keep working.
Properties
Section titled “Properties”bundles?
Section titled “bundles?”
optionalbundles?:DuckDBBundleUrls
Defined in: db/duckdb.ts:34
Pre-resolved self-hosted bundle URLs. Omit to use the jsDelivr CDN.
fallbackToJsDelivr?
Section titled “fallbackToJsDelivr?”
optionalfallbackToJsDelivr?:boolean
Defined in: db/duckdb.ts:41
When bundles is set, permit a last-ditch jsDelivr CDN attempt if every
local attempt fails. Defaults to false: an explicitly self-hosted setup
should fail loudly rather than silently reaching the network, which is the
whole point of going hermetic. Ignored when bundles is omitted.