⌘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 selectBundle (0.001 sec.)
Instantiate 11905
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 ... ost-MVP WebAssembly features reach browsers at different speeds and each one can bring a flat performance improvement. The selectBundle function runs dynamic browser checks and picks the fastest bundle the current browser supports: mvp — the WebAssembly 1.0 ... quires the page to be cross-origin isolated and must be opted into explicitly (see Threading ) The examples below all call selectBundle so the browser receives the fastest bundle it can run. You can also inspect the selected bundle and feature set from the w ... CDN, with no build step or bundler configuration. getJsDelivrBundles() returns the set of bundles hosted on jsDelivr , and selectBundle picks the one that matches the browser. Because a Web Worker script must be same-origin, the CDN worker URL is wrapped in ...
https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
Deploy 8222
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 ... origin isolated (see Cross-Origin Isolation ) You can serve all three and let the library feature-detect the best one with selectBundle , or serve a single variant and instruct the DuckDB-Wasm library on which one to use. The served artifacts are named after ... , so serve the module (or modules) that correspond to the JS workers you deploy. If you serve all three JS workers and let selectBundle feature-detect the best one, serve all three modules as well. When serving these files, keep the following in mind: Serve ...
https://man.mtool.work/duckdb/2.0/clients/wasm/deploying_duckdb_wasm.html
DuckDB Wasm Client 7757
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 ... port * as duckdb from '@duckdb/duckdb-wasm'; // Instantiate DuckDB-Wasm from a jsDelivr bundle const bundle = await duckdb.selectBundle(duckdb.getJsDelivrBundles()); // Worker scripts must be same-origin, so wrap the CDN worker in a Blob URL const worker_url ...
https://man.mtool.work/duckdb/2.0/clients/wasm/overview.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work