Skip to content

Commit 6fca988

Browse files
committed
update join comment
1 parent 2fee9c5 commit 6fca988

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

coderd/database/queries.sql.go

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/insights.sql

+3-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ WITH
207207
FROM
208208
template_usage_stats AS tus, jsonb_each(app_usage_mins) AS app_usage
209209
LEFT JOIN LATERAL (
210-
-- Fetch the latest app info for each app based on slug and template.
210+
-- The joins in this query are necessary to associate an app with a
211+
-- template, we use this to get the app metadata like display name
212+
-- and icon.
211213
SELECT
212214
app.display_name,
213215
app.icon,

0 commit comments

Comments
 (0)