mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
clickhouse inserts
This commit is contained in:
parent
6ea2282f82
commit
65910c7348
13 changed files with 146 additions and 40 deletions
|
|
@ -29,7 +29,7 @@ async function clickhouseQuery(website_id) {
|
|||
|
||||
return rawQueryClickhouse(
|
||||
`
|
||||
select count(distinct session_id) x
|
||||
select count(distinct session_uuid) x
|
||||
from pageview
|
||||
where website_id = $1
|
||||
and created_at >= ${getDateFormatClickhouse(subMinutes(new Date(), 5))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue