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
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
|
SUM(s.spend) AS total_spend
|
||||||
FROM
|
FROM
|
||||||
"LiteLLM_SpendLogs" s
|
"LiteLLM_SpendLogs" s
|
||||||
JOIN
|
LEFT JOIN
|
||||||
"LiteLLM_TeamTable" t ON s.team_id = t.team_id
|
"LiteLLM_TeamTable" t ON s.team_id = t.team_id
|
||||||
WHERE
|
WHERE
|
||||||
s."startTime" >= CURRENT_DATE - INTERVAL '30 days'
|
s."startTime" >= CURRENT_DATE - INTERVAL '30 days'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue