refactor Property components to be resused for both session/event data. Implement session-data screens + filtering. Remove all event-data specific compoenents/queries
This commit is contained in:
1 parent
9da332c489
commit
680a1ca1a2
71 files changed
+2814
-958
No files matched your search
@@ -76,6 +76,7 @@ async function relationalQuery(
|
||||
where event_data.website_id = {{websiteId::uuid}}
|
||||
and event_data.created_at between {{startDate}} and {{endDate}}
|
||||
and event_data.data_key = {{propertyName}}
|
||||
${dataType ? `and event_data.data_type = ${dataType}` : ''}
|
||||
${filterQuery}
|
||||
group by value
|
||||
order by 2 desc
|
||||
@@ -146,6 +147,7 @@ async function clickhouseQuery(
|
||||
where event_data.website_id = {websiteId:UUID}
|
||||
and event_data.created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||
and event_data.data_key = {propertyName:String}
|
||||
${dataType ? `and event_data.data_type = ${dataType}` : ''}
|
||||
${filterQuery}
|
||||
group by value
|
||||
order by 2 desc
|
||||
|
||||
Reference in new issue
Block a user