⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 3 of about 3 for mainModule (0.001 sec.)
Instantiate 11924
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 ... const logger = new 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 bun ... ort duckdb_wasm_next from '@duckdb/duckdb-wasm/dist/duckdb-eh.wasm'; const MANUAL_BUNDLES: duckdb.DuckDBBundles = { mvp: { mainModule: duckdb_wasm, mainWorker: new URL('@duckdb/duckdb-wasm/dist/duckdb-browser-mvp.worker.js', import.meta.url).toString(), }, ... eh: { mainModule: duckdb_wasm_next, mainWorker: new URL('@duckdb/duckdb-wasm/dist/duckdb-browser-eh.worker.js', import.meta.url).toString() ...
https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
DuckDB Wasm Client 7999
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 ... new Worker(worker_url); 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.connec ...
https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
Deploy 7943
Overview Deploying DuckDB-Wasm means serving its components so that the browser can fetch and instantiate them. This page describes each component a deployment needs to serve, how the worker and WebAssembly variants relate, how extensions a ... or an arbitrary [sub-]domain. The main library component is told each module's location through the bundle definition (the mainModule path), so the modules do not need to sit next to the JavaScript. DuckDB Extensions DuckDB extensions for DuckDB-Wasm, simi ...
https://man.mtool.work/duckdb/2.0/clients/wasm/deploying_duckdb_wasm.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work