add final keyword to session data queries

This commit is contained in:
Francis Cao 2024-08-15 12:04:48 -07:00
parent c79720ae1d
commit 439377f5c5
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ async function clickhouseQuery(
data_type = 4, toString(date_trunc('hour', date_value)),
string_value) as "value",
count(*) as "total"
from session_data
from session_data final
where website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
and data_key = {propertyName:String}