mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 11:05:36 +01:00
v3 prisma queries update
This commit is contained in:
parent
61b667c587
commit
2ffde37f5b
21 changed files with 119 additions and 108 deletions
|
|
@ -18,7 +18,7 @@ async function relationalQuery(websiteId: string) {
|
|||
|
||||
const result = await rawQuery(
|
||||
`
|
||||
select count(distinct session_id) as visitors
|
||||
select count(distinct session_id) as "visitors"
|
||||
from website_event
|
||||
where website_id = {{websiteId::uuid}}
|
||||
and created_at >= {{startDate}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue