Optional abort_Optional authWhen defined, overrides BaseClickHouseClientConfigOptions.auth for this particular request.
undefined (no override)
Optional clickhouse_ClickHouse's settings that can be applied on query level.
Optional columnsAllows to specify which columns the data will be inserted into. Accepts either an array of strings (column names) or an object of InsertColumnsExcept type. Examples of generated queries:
['a', 'b'] will generate: INSERT INTO table (a, b) FORMAT DataFormat{ except: ['a', 'b'] } will generate: INSERT INTO table (* EXCEPT (a, b)) FORMAT DataFormatBy default, the data is inserted into all columns of the InsertParams.table,
and the generated statement will be: INSERT INTO table FORMAT DataFormat.
See also: https://clickhouse.com/docs/en/sql-reference/statements/insert-into
Optional formatFormat of the dataset to insert. Default: JSONCompactEachRow
Optional http_Additional HTTP headers to attach to this particular request. Overrides the headers set in BaseClickHouseClientConfigOptions.http_headers.
empty object
Optional query_A specific query_id that will be sent with this request.
If it is not set, a random identifier will be generated automatically by the client.
Optional query_Parameters for query binding. https://clickhouse.com/docs/en/interfaces/http/#cli-queries-with-parameters
Optional roleA specific list of roles to use for this query. If it is not set, BaseClickHouseClientConfigOptions.role will be used.
undefined (no override)
Optional session_A specific ClickHouse Session id for this query. If it is not set, BaseClickHouseClientConfigOptions.session_id will be used.
undefined (no override)
Name of a table to insert into.
A dataset to insert.
Generated using TypeDoc
AbortSignal instance to cancel a request in progress.