mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix left join on litellm team table
This commit is contained in:
parent
428685eda7
commit
07821e213a
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