Class AsyncPreparedStatement<T>

A thin helper to bind the prepared statement id

Type Parameters

  • T extends {
        [key: string]: arrow.DataType;
    } = any

Hierarchy

  • AsyncPreparedStatement

Constructors

Methods

Constructors

  • Constructor

    Type Parameters

    • T extends {
          [key: string]: arrow.DataType;
      } = any

    Parameters

    • bindings: AsyncDuckDB
    • connectionId: number
    • statementId: number

    Returns AsyncPreparedStatement<T>

Methods

  • Close a prepared statement

    Returns Promise<void>

  • Run a prepared statement

    Parameters

    • Rest ...params: any[]

    Returns Promise<Table<T>>

  • Send a prepared statement

    Parameters

    • Rest ...params: any[]

    Returns Promise<AsyncRecordBatchStreamReader<T>>

Generated using TypeDoc