ReadonlybaseHTTP or HTTPS base URL used for Quack requests.
ReadonlyfetchFetch implementation used by this client.
Optionalinit: RequestInitServer metadata populated after a successful connection.
Whether this client currently has an open Quack connection.
Append an already encoded DuckDB DataChunk to a table.
OptionalschemaName: stringAppend an already encoded DuckDB DataChunk to a table.
Optionaloptions: AppendOptionsAppend an already encoded DuckDB DataChunk to a table.
Optionaloptions: QuackRequestOptionsAppend an already encoded DuckDB DataChunk to a table.
OptionalschemaOrOptions: string | QuackRequestOptions | AppendOptionsEncode row objects as one or more flat DataChunks and append them to a table.
Provide explicit column types for stable production use, especially for
empty row sets or columns containing only null.
Disconnect from the Quack server. Safe to call more than once.
Run SQL and return the first row, or null when the result is empty.
Optionaloptions: QuackQueryOptionsRun SQL and return the first row, or null when the result is empty.
Optionaloptions: QuackRequestOptionsRun SQL and return exactly one row, throwing when the row count is not one.
Optionaloptions: QuackQueryOptionsRun SQL and return exactly one row, throwing when the row count is not one.
Optionaloptions: QuackRequestOptionsRun SQL and collect all result chunks.
Use the generic parameter to type the materialized rows returned by QuackQueryResult.rows.
Optionaloptions: QuackQueryOptionsRun SQL and collect all result chunks.
Use the generic parameter to type the materialized rows returned by QuackQueryResult.rows.
Optionaloptions: QuackRequestOptionsSend a raw Quack protocol message.
This is an escape hatch for protocol tests and advanced clients; most application code should use higher-level methods.
Run SQL and stream decoded DuckDB DataChunks without materializing all rows.
Optionaloptions: QuackQueryOptionsRun SQL and stream decoded DuckDB DataChunks without materializing all rows.
Optionaloptions: QuackRequestOptionsRun SQL and stream materialized rows.
Optionaloptions: QuackQueryOptionsRun SQL and stream materialized rows.
Optionaloptions: QuackRequestOptionsRun a callback inside a DuckDB transaction.
Commits when the callback succeeds and attempts rollback when it throws.
Run SQL and return the first column from every materialized row.
Optionaloptions: QuackQueryOptionsRun SQL and return the first column from every materialized row.
Optionaloptions: QuackRequestOptionsStaticconnectOpen a Quack connection.
Accepts bare host strings such as localhost:9494, DuckDB-style
quack: URIs, and direct HTTP(S) URLs.
StaticwithOpen a connection, run a callback, and always disconnect afterwards.
Open a connection, run a callback, and always disconnect afterwards.
Client for DuckDB's Quack HTTP protocol.