Ducklings API Documentation
    Preparing search index...

    A streaming query result that yields data in chunks.

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Converts the streaming result into a Flechette Arrow Table.

      Reads all remaining chunks and aggregates them into a single Arrow table. DuckDB column types are mapped to the corresponding Flechette types.

      Returns Table

      A Flechette Table containing all result data

      const stream = conn.queryStreaming('SELECT * FROM large_table');
      const arrowTable = stream.toArrowTable();
      console.log(arrowTable.numRows);