⌘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 runAndReadAll (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 ... ements are executed in order, and the returned result is the result of the last statement: const reader = await connection.runAndReadAll( `create table t (id integer); insert into t values (1); from t;` ); reader.getRows(); // [ [1] ] To run multiple statemen ... lumn names and types: const columnNames = result.columnNames(); const columnTypes = result.columnTypes(); Read Result Data Run and read all data: const reader = await connection.runAndReadAll('from test_all_types()'); const rows = reader.getRows(); // OR: con ... / reader.done === true Get Result Data Result data can be retrieved in a variety of forms: const reader = await connection.runAndReadAll( 'from range(3) select range::int as i, 10 + i as n' ); const rows = reader.getRows(); // [ [0, 10], [1, 11], [2, 12] ] co ...
https://man.mtool.work/duckdb/2.0/clients/node_neo/overview.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work