@duckdb/duckdb-wasm 0.0.41-dev180.0 → 0.0.41-dev187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,8 @@ export declare class DuckDBConnection {
45
45
  sendPreparedStatement<T extends {
46
46
  [key: string]: arrow.DataType;
47
47
  } = any>(statement: number, params: any[]): arrow.RecordBatchStreamReader<T>;
48
+ /** Insert an arrow table */
49
+ insertArrowTable(table: arrow.Table, options: ArrowInsertOptions): void;
48
50
  /** Insert record batches */
49
51
  insertArrowBatches(schema: arrow.Schema, batches: Iterable<arrow.RecordBatch>, options: ArrowInsertOptions): void;
50
52
  /** Inesrt csv file from path */
@@ -36,6 +36,8 @@ export declare class AsyncDuckDBConnection {
36
36
  sendQuery<T extends {
37
37
  [key: string]: arrow.DataType;
38
38
  } = any>(text: string): Promise<arrow.AsyncRecordBatchStreamReader<T>>;
39
+ /** Insert an arrow table */
40
+ insertArrowTable(table: arrow.Table, options: ArrowInsertOptions): Promise<void>;
39
41
  /** Insert record batches */
40
42
  insertArrowBatches(schema: arrow.Schema, batches: Iterable<arrow.RecordBatch>, options: ArrowInsertOptions): Promise<void>;
41
43
  /** Insert csv file from path */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckdb/duckdb-wasm",
3
- "version": "0.0.41-dev180.0",
3
+ "version": "0.0.41-dev187.0",
4
4
  "description": "DuckDB powered by WebAssembly",
5
5
  "repository": {
6
6
  "type": "git",