(date: Date)
| 98 | |
| 99 | // Format a JS Date as a ClickHouse DateTime64(3) literal (UTC). |
| 100 | function chDateTime(date: Date): string { |
| 101 | return date.toISOString().replace('T', ' ').replace('Z', '').slice(0, 23); |
| 102 | } |
| 103 | |
| 104 | // Content hash identifying a logical event (everything but `id`). Properties |
| 105 | // are normalized to a canonical, order-independent "key=value" list so map |
no test coverage detected