Set the SQL query string.
The SQL query to execute.
Set an option on the statement.
The option name (e.g., "adbc.ingest.target_table").
The option value.
Execute the query and return a stream of results.
A Promise resolving to an Apache Arrow RecordBatchReader. The reader must be consumed or closed to release resources.
Execute an update command (e.g., INSERT, UPDATE, DELETE) that returns no data.
A Promise resolving to the number of rows affected (if known), or -1.
Bind parameters or data for ingestion.
This is used for bulk ingestion or parameterized queries.
Arrow Table containing the data to bind.
Bind a stream of data for ingestion or parameterized queries.
Streams batches one at a time to the driver, avoiding full materialization of the reader in memory.
Arrow RecordBatchReader to bind.
Close the statement and release resources.
Represents a query statement.
An AdbcStatement is used to execute SQL queries or prepare bulk insertions. State such as the SQL query string or bound parameters is held by the statement.