Get the logger
Get the logger
Cancel a pending query
Close a prepared statement
Enable file statistics
Connect to the database
Connect to the database
Copy a file to a buffer.
Copy a file to a path.
Prepare a statement and return its identifier
Detach from worker
Disconnect from the database
Try to drop a file
Try to drop files
Optionalnames: string[]Fetch query results
Flush all files
Get the feature flags
Get table names
Get the version
Insert arrow from an ipc stream
Optionaloptions: ArrowInsertOptionsInsert a json file
Open the database
Is in detached state, no worker defined
Ping the worker thread
Poll a pending query
Register a 4-byte SharedArrayBuffer for low-latency query cancellation.
Wire format: a single Int32Array[0]. The main thread signals cancel by
Atomics.store(int32, 0, 1). While a pending query is active the worker
polls this flag every 10 ms (between pollPendingQuery iterations) and
calls cancelPendingQuery when it sees 1, then writes 0 back.
Only the most-recently-started pending query is SAB-cancellable; the
4-byte wire format has no room for a connection id. For multi-connection
cancellation use the existing message-based connection.cancelSent().
Idempotent and re-callable; supplying a new SAB replaces the previous one. Must be called after the worker has been attached.
Register an empty file buffer.
Register a file buffer.
Register a file handle.
Register file text
Register a file path.
Enable file statistics
Reset the duckdb
Execute a prepared statement and return the full result
Run a query
Execute a prepared statement and stream the result
Kill the worker
An interface for the async DuckDB bindings