Connection

Discriminator field: kind Connection to database

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 *

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 str *

BigQueryConnection

kind:bigquery

Field Type Description
raw_sql_level enum/str[off / subselect / dashsql]
cache_ttl_sec int
project_id str *

FileConnection

kind:file

Field Type Description
raw_sql_level enum/str[off / subselect / dashsql]
cache_ttl_sec int
sources list *
sources[] FileSource
sources[].id str *
sources[].file_id str *
sources[].title str *
sources[].status str *
sources[].preview list *
sources[].preview[] list
sources[].preview[][] str
sources[].raw_schema list *
sources[].raw_schema[] FileSourceRawSchemaColumn
sources[].raw_schema[].name str *
sources[].raw_schema[].title str *
sources[].raw_schema[].user_type str *

MssqlConnection

kind:mssql

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

SnowflakeConnection

kind:snowflake

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

MysqlConnection

kind:mysql

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