コンテンツにスキップ

insertRows

このコンテンツはまだ日本語訳がありません。

insertRows(conn, tableName, rows): Promise<void>

Defined in: db/store.ts:182

Insert pre-converted row tuples in batches of 1000, atomically: either every row lands or none does.

Opens its own transaction, so it must not run inside another withTransaction on the same connection, and two calls on one connection must not overlap — DuckDB has no nested transactions.

AsyncDuckDBConnection

string

RowTuple[]

Promise<void>