Interface QueryParams

Hierarchy

Properties

abort_signal?: AbortSignal

AbortSignal instance to cancel a request in progress.

auth?: {
    password: string;
    username: string;
}

When defined, overrides the credentials from the BaseClickHouseClientConfigOptions.username and BaseClickHouseClientConfigOptions.password settings for this particular request.

Type declaration

  • password: string
  • username: string

Default

undefined (no override)
clickhouse_settings?: ClickHouseSettings

ClickHouse's settings that can be applied on query level.

format?: DataFormat

Format of the resulting dataset.

query: string

Statement to execute.

query_id?: string

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.

query_params?: Record<string, unknown>
session_id?: string

A specific ClickHouse Session id for this query. If it is not set, BaseClickHouseClientConfigOptions.session_id will be used.

Default

undefined (no override)

Generated using TypeDoc