mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
CH set string_value to string
This commit is contained in:
parent
356a2fe747
commit
cc188ec759
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@ async function clickhouseQuery(data: {
|
|||
event_name: eventName,
|
||||
event_key: a.key,
|
||||
string_value:
|
||||
a.dynamicDataType === DATA_TYPE.date ? getDateFormat(a.value, 'isoUtcDateTime') : a.value,
|
||||
a.dynamicDataType === DATA_TYPE.date
|
||||
? getDateFormat(a.value, 'isoUtcDateTime')
|
||||
: a.value.toString(),
|
||||
number_value: a.dynamicDataType === DATA_TYPE.number ? a.value : null,
|
||||
date_value: a.dynamicDataType === DATA_TYPE.date ? getDateFormat(a.value) : null,
|
||||
data_type: a.dynamicDataType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue