v3 prisma queries update
This commit is contained in:
1 parent
61b667c587
commit
2ffde37f5b
21 files changed
+119
-108
No files matched your search
@@ -20,8 +20,8 @@ async function relationalQuery(websiteId: string) {
|
||||
const result = await rawQuery(
|
||||
`
|
||||
select
|
||||
min(created_at) as startDate,
|
||||
max(created_at) as endDate
|
||||
min(created_at) as "startDate",
|
||||
max(created_at) as "endDate"
|
||||
from website_event
|
||||
where website_id = {{websiteId::uuid}}
|
||||
and created_at >= {{startDate}}
|
||||
|
||||
Reference in new issue
Block a user