⌘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 AccessMode (0.001 sec.)
Connect 11228
Overview Every DuckDB feature reachable from Rust starts with a Connection . Opening in-memory and file-backed databases, configuring a database instance with Config , opening read-only, pooling connections across threads, the crate's threa ... database file can be opened in read-only mode, which is useful when several processes read the same file at once. Set the access mode on a Config with the AccessMode enum: use duckdb::{AccessMode, Config, Connection, Result}; let config = Config::default( ... ).access_mode(AccessMode::ReadOnly)?; let conn = Connection::open_with_flags("my_database.duckdb", config)?; AccessMode has three variants: Automat ...
https://man.mtool.work/duckdb/2.0/clients/rust/connecting.html
Instantiate 7485
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 ... :memory: ). Use an opfs:// path to persist data to the browser's Origin Private File System (see Persistence with OPFS ). accessMode : duckdb.DuckDBAccessMode.READ_ONLY or duckdb.DuckDBAccessMode.READ_WRITE . allowUnsignedExtensions : allow loading extens ... kdb/duckdb-wasm'; await db.instantiate(bundle.mainModule, bundle.pthreadWorker); await db.open({ path: 'opfs://duckdb.db', accessMode: duckdb.DuckDBAccessMode.READ_WRITE, }); const conn = await db.connect(); await conn.query(`CREATE TABLE t AS SELECT * FRO ... ileName() before a statement uses it, and dropped with db.dropFile() afterwards: await db.open({ path: 'opfs://duckdb.db', accessMode: duckdb.DuckDBAccessMode.READ_WRITE, }); // Register the file, use it from SQL, then release its handle await db.registerO ...
https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work