add total_rows
This commit is contained in:
parent
6f618bbcda
commit
284eec360b
@ -264,6 +264,10 @@ pub async fn query_user_stats<'a>(
|
||||
|
||||
let q = rpc_accounting::Entity::find()
|
||||
.select_only()
|
||||
.column_as(
|
||||
rpc_accounting::Column::FrontendRequests.count(),
|
||||
"total_rows",
|
||||
)
|
||||
.column_as(
|
||||
rpc_accounting::Column::FrontendRequests.sum(),
|
||||
"total_frontend_requests",
|
||||
|
Loading…
Reference in New Issue
Block a user