Skip to content

Commit

Permalink
get min/max date from website_event_stats_hourly view
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscao633 committed Nov 26, 2024
1 parent d800b42 commit b5f5f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queries/analytics/getWebsiteDateRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function clickhouseQuery(websiteId: string) {
select
min(created_at) as mindate,
max(created_at) as maxdate
from website_event
from website_event_stats_hourly
where website_id = {websiteId:UUID}
and created_at >= {startDate:DateTime64}
`,
Expand Down

0 comments on commit b5f5f07

Please sign in to comment.