Connection

Discriminator field: kind
Connection to database

ClickHouseConnection

kind:clickhouse

Field Type Description
raw_sql_level enum/str[off / subselect / dashsql] *
cache_ttl_sec int *
host str *
port int *
username str *
secure bool *

PostgresConnection

kind:postgres

Field Type Description
raw_sql_level enum/str[off / subselect / dashsql] *
cache_ttl_sec int *
host str *
port int *
username str *
database_name str *