mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix left join on litellm team table
This commit is contained in:
parent
1a417733d3
commit
327cf73d73
1 changed files with 1 additions and 1 deletions
|
@ -5069,7 +5069,7 @@ async def global_spend_per_tea():
|
|||
SUM(s.spend) AS total_spend
|
||||
FROM
|
||||
"LiteLLM_SpendLogs" s
|
||||
JOIN
|
||||
LEFT JOIN
|
||||
"LiteLLM_TeamTable" t ON s.team_id = t.team_id
|
||||
WHERE
|
||||
s."startTime" >= CURRENT_DATE - INTERVAL '30 days'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue