Class AsyncPreparedStatement<T>
Type Parameters
- T extends {
[key: string]: arrow.DataType;
} = any
Constructors
constructor
- new AsyncPreparedStatement<T>(bindings, connectionId, statementId): AsyncPreparedStatement<T>
Type Parameters
- T extends {
[key: string]: arrow.DataType;
} = any
Parameters
- bindings: AsyncDuckDB
- connectionId: number
- statementId: number
Methods
close
- close(): Promise<void>
Returns Promise<void>
query
- query(...params): Promise<Table<T>>
Returns Promise<Table<T>>
send
- send(...params): Promise<AsyncRecordBatchStreamReader<T>>
Returns Promise<AsyncRecordBatchStreamReader<T>>
A thin helper to bind the prepared statement id