AbstractGet the logger
Get the instance
Get the instance
Cancel a pending query
Finish file operations that could only be completed asynchronously, called between queries
Close a prepared statement
Connect to database
Write a file to a buffer
Write a file to a path
Prepare a statement and return its identifier
Disconnect from database
Drop file
Drop files
Optionalnames: string[]Fetch query results
Flush all files
Haybarn: the URL LOAD <name> would fetch, empty when the extension is already loaded
Get the feature flags
The connection's interrupt flag, when the wasm memory is shared (threads bundle); null otherwise
The connection's query progress slot, when the wasm memory is shared (threads bundle); null otherwise
The progress of the connection's query, as last reported by the engine
Get table names
Get the version
Insert record batches from an arrow ipc stream
Optionaloptions: ArrowInsertOptionsInstantiate the database
OptionalonProgress: (progress: InstantiationProgress) => voidInterrupt the query running on the connection. Reaches only a query that runs between two calls
Mount the origin private file system, where the runtime has one
Poll a pending query
Prepare a file handle that could only be acquired aschronously
Prepare a file (or the files a glob pattern matches) for the next query, returns the names prepared
Prepare a file object URL
Is a pending query or a result stream open on any connection?
Register a file buffer
Register a file object URL
Register a file object URL async
Register file text
Register a file object URL
Enable tracking of file statistics
Reset the database
Execute a prepared statement and return the full result
Execute a prepared statement and stream the result
Start a pending query asynchronously.
This method returns either the arrow ipc schema or null.
On null, the query has to be executed using pollPendingQuery until that returns != null.
Results can then be fetched using fetchQueryResults
The proxy for either the browser- order node-based DuckDB API