Type alias ExecParams

ExecParams: BaseQueryParams & {
    decompress_response_stream?: boolean;
    query: string;
}

Type declaration

  • Optional decompress_response_stream?: boolean

    If set to false, the client will not decompress the response stream, even if the response compression was requested by the client via the BaseClickHouseClientConfigOptions.compression.response setting. This could be useful if the response stream is passed to another application as-is, and the decompression is handled there.

    Note

    1. Node.js only. This setting will have no effect on the Web version.

    Note

    1. In case of an error, the stream will be decompressed anyway, regardless of this setting.

    Default

    true
    
  • query: string

    Statement to execute (including the FORMAT clause). By default, the query will be sent in the request body; If ExecParamsWithValues.values are defined, the query is sent as a request parameter, and the values are sent in the request body instead.

Generated using TypeDoc