mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 12:19:43 +00:00
✨Add request by day chart
This commit is contained in:
parent
887a0ef574
commit
ba6defa87c
3 changed files with 28 additions and 45 deletions
|
|
@ -121,6 +121,7 @@ async function query(query: Q) {
|
|||
totalCount: sql<number>`COUNT(*)`.as("total_count")
|
||||
})
|
||||
.from(requestAuditLog)
|
||||
.where(and(baseConditions))
|
||||
.groupBy(groupByDayFunction)
|
||||
.orderBy(groupByDayFunction);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue