Skip to content

clickhouseSchema

function clickhouseSchema(options?): string;

Defined in: src/analytics/clickhouse.ts:79

The CREATE TABLE IF NOT EXISTS statement for the events table: one row per event, partitioned by month, ordered by (tenant, at).

Parameter Type
options? ClickHouseSchemaOptions

string