Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New parents subscriptions query #1339

Merged
merged 3 commits into from
Jul 17, 2023
Merged

New parents subscriptions query #1339

merged 3 commits into from
Jul 17, 2023

Conversation

ErinLMoore
Copy link
Contributor

Query to list number of users who have at least one unpaused subscription that have child subscriptions.

@ErinLMoore ErinLMoore self-assigned this Jul 14, 2023
@ErinLMoore ErinLMoore requested a review from arkadyan July 14, 2023 12:34
Copy link
Collaborator

@arkadyan arkadyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -234,6 +234,18 @@ defmodule AlertProcessor.Model.Query do
UNION ALL
SELECT 'Paused for 12 months or more',plmore.total_paused_accounts FROM paused_for_twelve_months_or_more plmore;
"""
},
%__MODULE__{
label: "Count of Active Users Having Subscriptions That Are Parents",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought (non-blocking): I wonder if there's some wording that makes this label more generally understandable / less specific to the implementation details. Maybe something along the lines of, "parallel route subscriptions"?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or even, "parallel bus route subscriptions" since this is only possible with bus routes?

@ErinLMoore ErinLMoore merged commit 2346efb into main Jul 17, 2023
7 checks passed
@ErinLMoore ErinLMoore deleted the elm-routes-query branch July 17, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants