update join comment

This commit is contained in:
Mathias Fredriksson 2024-03-20 16:12:47 +00:00
parent af3fc3ed70
commit b11b3b6b89
2 changed files with 6 additions and 2 deletions

View File

@ -1849,7 +1849,9 @@ SELECT
FROM
template_usage_stats AS tus, jsonb_each(app_usage_mins) AS app_usage
LEFT JOIN LATERAL (
-- Fetch the latest app info for each app based on slug and template.
-- The joins in this query are necessary to associate an app with a
-- template, we use this to get the app metadata like display name
-- and icon.
SELECT
app.display_name,
app.slug

View File

@ -282,7 +282,9 @@ SELECT
FROM
template_usage_stats AS tus, jsonb_each(app_usage_mins) AS app_usage
LEFT JOIN LATERAL (
-- Fetch the latest app info for each app based on slug and template.
-- The joins in this query are necessary to associate an app with a
-- template, we use this to get the app metadata like display name
-- and icon.
SELECT
app.display_name,
app.slug