Add explicit AS keyword for PostgreSQL column alias in session and event queries

Fixkamo-analytics
出荷済み
2026年4月10日 1:46 UTC
プロフィール
lawrence3699
コンテンツ
3f44ec7

The session and event expanded metrics queries use implicit column aliasing (`${column} name`) which causes a PostgreSQL syntax error when the column name (like `os`) is followed by `name` without `AS`. PostgreSQL parses `os name` ambiguously and fails with: syntax error at or near "name" The sibling file getPageviewExpandedMetrics.ts already uses the correct `${column} as name` pattern. This applies the same fix to the session and event queries. Fixes #3970

すべての変更

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る