mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 17:15:37 +01:00
add subdivision1/2, cities to query logic
This commit is contained in:
parent
6bacfa5892
commit
55a586fe27
16 changed files with 184 additions and 57 deletions
|
|
@ -40,7 +40,10 @@ async function clickhouseQuery(websites: string[], startAt: Date) {
|
|||
device,
|
||||
screen,
|
||||
language,
|
||||
country
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
city
|
||||
from event
|
||||
where ${websites && websites.length > 0 ? `website_id in {websites:Array(UUID)}` : '0 = 0'}
|
||||
and created_at >= {startAt:DateTime('UTC')}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue