⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 2 of about 2 for pthreadWorker (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 ... duckdb.ConsoleLogger(); const db = new duckdb.AsyncDuckDB(logger, worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); URL.revokeObjectURL(worker_url); webpack When your application is built with webpack , let the bundler resolve and emit ... duckdb.ConsoleLogger(); const db = new duckdb.AsyncDuckDB(logger, worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); vite Vite resolves assets a little differently: appending the ?url suffix to an import tells Vite to return the asset's ... duckdb.ConsoleLogger(); const db = new duckdb.AsyncDuckDB(logger, worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); Statically Served If you would rather not depend on a CDN or a bundler, you can host the DuckDB-Wasm files yourself. Man ...
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 ... rl); const db = new duckdb.AsyncDuckDB(new duckdb.ConsoleLogger(), worker); await db.instantiate(bundle.mainModule, bundle.pthreadWorker); URL.revokeObjectURL(worker_url); // Open a connection and run a query const conn = await db.connect(); const result = aw ...
https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work