mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-22 07:49:29 +01:00
CH set string_value to string
This commit is contained in:
parent
356a2fe747
commit
cc188ec759
@ -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…
Reference in New Issue
Block a user