Results of 1 - 2 of about 2 for AsyncDuckDB (0.001 sec.)
- Instantiate 11228
- Overview DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's
...capabilities, then hands them to AsyncDuckDB . This page shows the patterns for a jsDelivr CDN, webpack, Vite and statically served files. Once instantiated, the db ob...ion of DuckDB-Wasm const worker = new Worker(worker_url); const logger = new duckdb.ConsoleLogger(); const db = new duckdb.AsyncDuckDB(logger, worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); URL.revokeObjectURL(worker_url); webpack W...uckDB-Wasm const worker = new Worker(bundle.mainWorker!); const logger = new duckdb.ConsoleLogger(); const db = new duckdb.AsyncDuckDB(logger, worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); vite Vite resolves assets a little differe... - https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
- DuckDB Wasm Client 7485
- Installation To use the DuckDB Wasm client, visit the duckdb-wasm GitHub repository . The latest stable version of the DuckDB WebAssembly client is 2.0.0. DuckDB-Wasm is a version of DuckDB that has been compiled to WebAssembly , the portab
...s("${bundle.mainWorker}");`], { type: 'text/javascript' }) ); const worker = new Worker(worker_url); const db = new duckdb.AsyncDuckDB(new duckdb.ConsoleLogger(), worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); URL.revokeObjectURL(wo... - https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work