⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 1 of about 1 for getRows (0.001 sec.)
Node.js Client (Neo) 9414
Installation To use the DuckDB Node.js client, visit the Node.js installation page . The latest stable version of the DuckDB Node.js (Neo) client is 2.0.0. An API for using DuckDB in Node.js . The primary package, @duckdb/node-api , is a hi ... const reader = await connection.runAndReadAll( `create table t (id integer); insert into t values (1); from t;` ); reader.getRows(); // [ [1] ] To run multiple statements and access each statement's result individually, use extractStatements instead. P ... lt Data Run and read all data: const reader = await connection.runAndReadAll('from test_all_types()'); const rows = reader.getRows(); // OR: const columns = reader.getColumns(); Stream and read up to (at least) some number of rows: const reader = await ... connection.streamAndReadUntil( 'from range(5000)', 1000 ); const rows = reader.getRows(); // rows.length === 2048. (Rows are read in chunks of 2048.) Read rows incrementally: const reader = await connection.st ...
https://man.mtool.work/duckdb/2.0/clients/node_neo/overview.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work